Skip to content

Documentation

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

PowerPack

⌘K
  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 );

                    
PowerPack Beaver Addons Black Friday Deal
Our Biggest Sale of the Year
Save up to 50% OFF

Wait! Don't Miss Our Biggest Sale of the Year!

SAVE UP TO 50% OFF

Get premium Beaver Builder addons at our lowest prices of the year. Build better websites for less!

Limited-time offer • Don't miss out!

×