Allows modifying the title of each individual post returned by the Top Posts helper. Applies to both the Top Posts block’s front-end output and the REST response used by the block editor preview.
Parameters
- $post_title
string Post title.
- $top_post
array Information about the post.
Changelog
- Introduced in Jetpack 15.8