do_action( 'hivepress/v1/models/{model_name}/query', $query )
Fires when models are being queried (e.g. on the archive, category, or search pages). The dynamic part of the hook refers to the model name (e.g. listing, vendor).
Parameters:
| Name | Type | Description |
|---|---|---|
$query |
WP_Query | Query object. |
- Source: