Action
rpress_login_fields_before
Fires before the username field in the login form.
Runs inside the login shortcode form, after the optional social login buttons and before the username and email field. Use it to add fields or notices at the top of the form.
Example#
add_action( 'rpress_login_fields_before', 'my_rpress_login_fields_before' );
function my_rpress_login_fields_before() {
echo '<p>' . esc_html__( 'Welcome back.', 'my-textdomain' ) . '</p>';
}
Source#
Fired from:
templates/shortcode-login.php(line 37)
See also#
Was this page helpful?
