Skip to content
Docs
Get RestroPress

Action

rpress_checkout_login_fields_before

Updated
On this page

Fires before the fields of the checkout login form.

Runs in rpress_get_login_fields() after the "Register" link and before the username or email field.

Example#

function my_login_fields_before() {
	echo '<p class="my-login-note">' . esc_html__( 'Log in to reuse saved details.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_checkout_login_fields_before', 'my_login_fields_before', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 760), in rpress_get_login_fields()

See also#

Was this page helpful?