default_excerpt

Advertisement

Summery Summery

Filters the default post excerpt initially used in the “Write Post” form.

Syntax Syntax

apply_filters( 'default_excerpt', string $post_excerpt, WP_Post $post )

Parameters Parameters

$post_excerpt

(string) Default post excerpt.

$post

(WP_Post) Post object.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.