Filter: wpbuddy/rich_snippets/rule/query

apply_filters( 'wpbuddy/rich_snippets/rule/query', $wp_query, $position_rule ) → {WP_Query}

Position Rule query filter. Allows to filter the query that is used to compare a post.
Parameters:
Name Type Description
$wp_query WP_Query The query.
$position_rule Position_Rule The current rule object.
Since:
  • 2.27.0
Source:
Returns:
The modified query.
Type
WP_Query

apply_filters( 'wpbuddy/rich_snippets/rule/query', $wp_query, $position_rule ) → {WP_Query}

Position Rule query filter. Allows to filter the query that is used to compare a post.
Parameters:
Name Type Description
$wp_query WP_Query The query.
$position_rule Position_Rule The current rule object.
Since:
  • 2.27.0
Source:
Returns:
The modified query.
Type
WP_Query