Recent

crp_query_posts_match_fields_contentfilter

crp_query_posts_match_fields_content

Filter the content of the fields that are to be matched.

Type: filter
Since: 4.0.0
Source: includes/class-crp-core-query.php line 612

Parameters

Type Name Description
array $match_fields_content Array of content of fields to be matched
\WP_Post $source_post Source Post instance.
array $query_args Arguments array.

Usage

add_filter( 'crp_query_posts_match_fields_content', function($match_fields_content, $source_post, $query_args) {
    // ...
    return $match_fields_content;
} );