Filter the output HTML of Related Posts.
Parameters
- $display_markup
string HTML output of Related Posts.
- $related_posts
array Array of related posts.
- $block_attributes
array Array of Block attributes.
- get_the_ID()
int|false Post ID of the post for which we are retrieving Related Posts.
Changelog
- Introduced in Jetpack 10.7