Filter: hivepress/v1/components/attribute/models

apply_filters( 'hivepress/v1/components/attribute/models', $models ) → {array}

Filters the attribute-enabled models. If you add a new model name to the filtered array, HivePress will register all the required callbacks for handling the model attributes (e.g. custom fields, search filters, sorting options).

Parameters:
Name Type Description
$models array

Model names.

Source:
Returns:

Model names.

Type
array