wzkb_related_articles_query_args
Filters the related articles arguments before it is passed to WP_Query.
Type: filter
Since: 2.1.0
Source: includes/frontend/class-related.php line 148
Parameters
| Type | Name | Description |
|---|---|---|
array | $related_args | WP_Query arguments. |
array | $args | Parameters passed to function and merged with defaults. |
Usage
add_filter( 'wzkb_related_articles_query_args', function($related_args, $args) {
// ...
return $related_args;
} );