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.1

apply_filters('default_excerpt') is found 1 times:

  • /wp-admin/includes/post.php line 828
    	 *
    	 * @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: