apply_filters( 'wp_post_revision_title_expanded', string $revision_date_author, WP_Post $revision, bool $link )
- Since
- 4.4.0
Filters the formatted author and date for a revision.
Compatibility
- WordPress
- since 4.4.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$revision_date_authorstring- The formatted string.
$revisionWP_Post- The revision object.
$linkbool- Whether to link to the revisions page, as passed into wp_post_revision_title_expanded().
Where this hook fires · 1
wp-includes/post-template.php:1968wp_post_revision_title_expanded()
Source code
* * @param string $revision_date_author The formatted string. * @param WP_Post $revision The revision object. * @param bool $link Whether to link to the revisions page, as passed into * wp_post_revision_title_expanded(). */ return apply_filters( 'wp_post_revision_title_expanded', $revision_date_author, $revision, $link );} /** * Displays a list of a post's revisions. * * Can output either a UL with edit links or a TABLE with diff interface, andChangelog
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.