Created
May 14, 2019 09:10
-
-
Save jom/68032b967fe6f9ddb7738cb1746ced0d to your computer and use it in GitHub Desktop.
Change Job Dashboard sign in page 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
<?php | |
// Paste the lines below in your functions.php or Code Snippets plugin. | |
// For the job dashboard page. | |
add_filter( 'job_manager_job_dashboard_login_url', 'job_manager_custom_sign_in_url' ); | |
// For the job form page. | |
add_filter( 'submit_job_form_login_url', 'job_manager_custom_sign_in_url' ); | |
function job_manager_custom_sign_in_url() { | |
return 'https://example.com/path/to/my-special-login'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment