apply_filters( 'hivepress/v1/models/{model_name}/meta', $meta ) → {array}
Filters the model class meta. The class meta stores properties related to the model type rather than a specific model object. The dynamic part of the hook refers to the model name (e.g. listing
). You can check the available models in the includes/models
directory of HivePress.
Parameters:
Name | Type | Description |
---|---|---|
$meta |
array | Class meta values. |
- Source:
Returns:
Class meta values.
- Type
- array