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().


Top ↑

Source

File: wp-includes/post-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.