Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function wpb_change_title_text( $title ){
$screen = get_current_screen();
if ( 'team' == $screen->post_type ) {
$title = 'Enter the team title';
}
return $title;
}
add_filter( 'enter_title_here', 'wpb_change_title_text' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.