default_content

default_content

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

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('default_content') is found 1 times:

  • /wp-admin/includes/post.php line 808
    	 *
    	 * @param string  $post_content Default post content.
    	 * @param WP_Post $post         Post object.
    	 */
    	$post->post_content = (string) apply_filters( 'default_content', $post_content, $post );
    
    	/**
    	 * Filters the default post title initially used in the "Write Post" form.
    	 *
    	 * @since 1.5.0
    	 *
    

See this hook used in plugins: