Skip to content

Instantly share code, notes, and snippets.

@manchumahara
Last active May 15, 2020 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manchumahara/684056f4eac4ad8cdec584fb0177e898 to your computer and use it in GitHub Desktop.
Save manchumahara/684056f4eac4ad8cdec584fb0177e898 to your computer and use it in GitHub Desktop.
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