Created
August 2, 2017 08:07
-
-
Save Shininglow/1339e3c19334f3e70ddcdd9d8ffbe7d5 to your computer and use it in GitHub Desktop.
This file contains 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
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