Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Login Form
  6. How to Add “Back to Login Page” Link After Lost Password Form?

How to Add “Back to Login Page” Link After Lost Password Form?

PowerPack Login Form provides a custom hook which can be used to add the Back to Login Page button after the lost password form.

add_action( 'pp_login_form_after_lost_password_form', function( $settings, $id ) {
	?>
	<p>
		<a href="/login-form/">← Back to Login Page</a>
	</p>
	<?php
}, 10, 2 );

                    
Was this article helpful to you? Yes No

How can we help?

×