default_excerpt

default_excerpt

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_excerpt') is found 1 times:

  • /wp-admin/includes/post.php line 828
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
         *
         * @param string  $post_excerpt Default post excerpt.
         * @param WP_Post $post         Post object.
         */
        $post->post_excerpt = (string) apply_filters( 'default_excerpt', $post_excerpt, $post );
     
        return $post;
    }
     
    /**
     * Determines if a post exists based on title, content, date and type.

See this hook used in plugins: