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?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum