Switch back button (for your theme template)
-
This is if you want to put a link for the users to switch back to the previous or old user – so you don’t have to waste your time.
<?php $old_user = user_switching::get_old_user(); if ( $old_user ) { $link = user_switching::switch_back_url($old_user ); ?> <a href="<?php echo $link; ?>" class="dropdown-item"> <i class="fa fa-arrow-left text-primary"></i> Switch Back </a> <?php } ?>(drop me if I helped you ty)
ETH:
0x18fF646c9d41361fCE2d0B25f55D1Ea5843e07f6
BTC:
38CYJEz87oFsCDSK3kpxmuZWzua3QkqWuj
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Switch back button (for your theme template)’ is closed to new replies.