Skip to content
Docs
Get RestroPress

Action

rpress_register_form_logged_in

Updated
On this page

Fires in the registration shortcode when the visitor is already logged in.

Runs in place of the registration form when a user is logged in. Echo a message or redirect link here.

Example#

add_action( 'rpress_register_form_logged_in', 'my_rpress_register_form_logged_in' );
function my_rpress_register_form_logged_in() {
	echo '<p>' . esc_html__( 'You are already registered.', 'my-textdomain' ) . '</p>';
}

Source#

Fired from:

  • templates/shortcode-register.php (line 68)
Was this page helpful?