Last active
November 20, 2018 08:18
-
-
Save yousufansa/69aae01f02087d46a7161f99ba1f2f5c to your computer and use it in GitHub Desktop.
Jobhunt - Register And Login Page Menu Custom URL
This file contains hidden or 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
if ( ! function_exists( 'jh_child_custom_header_register_page_url' ) ) { | |
/** | |
* Change Register Page url | |
*/ | |
function jh_child_custom_header_register_page_url( $register_page_url ) { | |
$register_page_url = home_url() . '/register/'; | |
return $register_page_url; | |
} | |
} | |
add_filter( 'jobhunt_header_register_page_url', 'jh_child_custom_header_register_page_url' ); | |
if ( ! function_exists( 'jh_child_custom_header_login_page_url' ) ) { | |
/** | |
* Change Login Page url | |
*/ | |
function jh_child_custom_header_login_page_url( $login_page_url ) { | |
$login_page_url = home_url() . '/login/'; | |
return $login_page_url; | |
} | |
} | |
add_filter( 'jobhunt_header_login_page_url', 'jh_child_custom_header_login_page_url' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment