Created
June 2, 2014 18:33
-
-
Save barbrick/bdd011561351080d298c to your computer and use it in GitHub Desktop.
Change the Title placeholder in WordPress post types
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 change_post_title($title){ | |
if ('post' == get_current_screen()->post_type) $title = 'Enter Post Name Here'; | |
return $title; | |
} | |
add_filter('enter_title_here', 'change_post_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment