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

                    
🎃 🎃

⚡ HALLOWEEN FLASH SALE! Save up to 40% OFF  Claim Your Treats ➔

🎃 Wait! Your Halloween Savings Are Still Here!

You're about to miss our biggest sale of the year. Save up to 40% and secure unlimited site licenses before the Halloween sale ends.

×