Recent

crp_query_posts_match_fields_content filter

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 611

Parameters

TypeNameDescription
array$match_fields_contentArray of content of fields to be matched
\WP_Post$source_postSource Post instance.
array$query_argsArguments array.

Usage

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