Created
June 11, 2013 08:35
-
-
Save pascalmaddin/5755329 to your computer and use it in GitHub Desktop.
WordPress - Change default “Enter title here” text within post title input field
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
<?php | |
function title_text_input( $title ){ | |
return $title = 'Enter new title'; | |
} | |
add_filter( 'enter_title_here', 'title_text_input' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment