jetpack_relatedposts_filter_args, $args, $post_id

jetpack_relatedposts_filter_args, $args, $post_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_relatedposts_filter_args, $args, $post_id') is found 1 times:

  • /modules/related-posts/jetpack-related-posts.php line 961
    		 *
    		 * @param array $args Array of options to retrieve Related Posts.
    		 * @param string $post_id Post ID of the post for which we are retrieving Related Posts.
    		 */
    		$args = apply_filters( 'jetpack_relatedposts_filter_args', $args, $post_id );
    
    		$filters = $this->get_es_filters_from_args( $post_id, $args );
    		/**
    		 * Filter Elasticsearch options used to calculate Related Posts.
    		 *
    		 * @module related-posts