Last active
May 15, 2020 06:28
-
-
Save manchumahara/684056f4eac4ad8cdec584fb0177e898 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply_filters('cbxwpbookmark_login_html', $cbxwpbkmark_login_html, $login_url, $redirect_url); | |
add_filter('cbxwpbookmark_login_html', 'cbxwpbookmark_login_link_change', 10, 3); | |
function cbxwpbookmark_login_link_change($cbxwpbkmark_login_html, $login_url, $redirect_url){ | |
//$login_url is the redirect url you need | |
$login_url = ''; //set your custom login url here | |
$cbxwpbkmark_login_html = 'To login <a href="'.esc_url($login_url).'">click</a> here'; //set login form or html as need to display as your custom login | |
return $cbxwpbkmark_login_html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment