apply_filters ( 'jetpack_relatedposts_post_category_context', string $post_cat_context, array $category )

Filter the "In Category" line displayed in the post context below each Related Post.

Source file: modules/related-posts/jetpack-related-posts.php

View in GitHub

Parameters

$post_cat_context

(string) ”In Category” line displayed in the post context below each Related Post.

$category

(array) Array containing information about the category.


Changelog

Since: Jetpack 3.2.0


Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us