enter_title_here

enter_title_here

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('enter_title_here') is found 3 times:

  • /wp-admin/edit-form-advanced.php line 545

    *
    * @param string $text Placeholder text. Default ‘Add title’.
    * @param WP_Post $post Post object.
    */
    $title_placeholder = apply_filters( ‘enter_title_here’, __( ‘Add title’ ), $post );
    ?>

  • /wp-admin/edit-form-blocks.php line 226
    $editor_settings = array(
    	'availableTemplates'   => $available_templates,
    	'disablePostFormats'   => ! current_theme_supports( 'post-formats' ),
    	/** This filter is documented in wp-admin/edit-form-advanced.php */
    	'titlePlaceholder'     => apply_filters( 'enter_title_here', __( 'Add title' ), $post ),
    	'bodyPlaceholder'      => $body_placeholder,
    	'autosaveInterval'     => AUTOSAVE_INTERVAL,
    	'richEditingEnabled'   => user_can_richedit(),
    	'postLock'             => $lock_details,
    	'postLockUtils'        => array(
    		'nonce'       => wp_create_nonce( 'lock-post_' . $post->ID ),
    
  • /wp-admin/includes/dashboard.php line 591
    		<div class="input-text-wrap" id="title-wrap">
    			<label for="title">
    				<?php
    				/** This filter is documented in wp-admin/edit-form-advanced.php */
    				echo apply_filters( 'enter_title_here', __( 'Title' ), $post );
    				?>
    			</label>
    			<input type="text" name="post_title" id="title" autocomplete="off" />
    		</div>
    
    		<div class="textarea-wrap" id="description-wrap">
    
  • See this hook used in plugins: