default_content

default_content

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('default_content') is found 1 times:

  • /wp-admin/includes/post.php line 808
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    *
     * @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: