Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Last active July 31, 2019 05:32
Show Gist options
  • Select an option

  • Save yousufansa/ffc3b5fd7cb87a763b50726b2a8409f5 to your computer and use it in GitHub Desktop.

Select an option

Save yousufansa/ffc3b5fd7cb87a763b50726b2a8409f5 to your computer and use it in GitHub Desktop.
Jobhunt - Register / Login Form Custom Tab Title
if ( ! function_exists( 'jh_child_custom_register_form_tab_title' ) ) {
/**
* Change Register Tab Title
*/
function jh_child_custom_register_form_tab_title( $title ) {
$title = esc_html__( 'Register', 'jobhunt-extensions' ); //Replace New Register Tab Title
return $title;
}
}
add_filter( 'jobhunt_register_form_tab_title', 'jh_child_custom_register_form_tab_title' );
if ( ! function_exists( 'jh_child_custom_login_form_tab_title' ) ) {
/**
* Change Login Tab Title
*/
function jh_child_custom_login_form_tab_title( $title ) {
$title = esc_html__( 'Login', 'jobhunt-extensions' );//Replace New Login Tab Title
return $title;
}
}
add_filter( 'jobhunt_login_form_tab_title', 'jh_child_custom_login_form_tab_title' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment