Restrict Content Pro

rcp_after_login_form

Coming soon: Restrict Content Pro is becoming Kadence Memberships. You may see both names used while we update the product, documentation, and customer experience.

Note: This content is provided as a resource within our developer documentation. Because custom code requires highly specific implementation, we encourage you to work with a qualified developer if you need guidance. You can find our recommended consultants here: https://codeable.io/developers/restrict-content-pro

Fires immediately after the login template is loaded, still inside rcp_login_form_fields().

Use this for content below the login form (links, notices, or extra fields not included in the template).

Parameters

None.

Examples

function mytheme_rcp_after_login_form() {
	echo '<p><a href="' . esc_url( wp_lostpassword_url() ) . '">' . esc_html__( 'Forgot password?', 'mytheme' ) . '</a></p>';
}
add_action( 'rcp_after_login_form', 'mytheme_rcp_after_login_form' );

Related: rcp_before_login_form, rcp_login_form_errors.

Last updated: November 11, 2026
Was this page helpful?
Thanks for the feedback!