wp_post_revision_title_expanded filter-hook . WP 4.4.0
Filters the formatted author and date for a revision.
Usage
add_filter( 'wp_post_revision_title_expanded', 'filter_function_name_7739', 10, 3 ); function filter_function_name_7739( $revision_date_author, $revision, $link ){ // filter... return $revision_date_author; }
- $revision_date_author(string)
- The formatted string.
- $revision(WP_Post)
- The revision object.
- $link(true/false)
- Whether to link to the revisions page, as passed into wp_post_revision_title_expanded().
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
wp_post_revision_title_expanded
wp-includes/post-template.php 1909
return apply_filters( 'wp_post_revision_title_expanded', $revision_date_author, $revision, $link );