wp_post_revision_title_expanded WordPress Filter Hook
wp_post_revision_title_expanded is a Wordpress hook that allows you to add additional information to the post revision title. This is useful if you want to include more information in the revision title than just the post title.
apply_filters( 'wp_post_revision_title_expanded', string $revision_date_author , WP_Post $revision , bool $link ) #
Filters the formatted author and date for a revision.
Parameters
- $revision_date_author
(string)The formatted string.
- $revision
(WP_Post)The revision object.
- $link
(bool)Whether to link to the revisions page, as passed into wp_post_revision_title_expanded().
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |