HasQueryFilterTrait
trait HasQueryFilterTrait (View source)
Represent an object which has a WordPress query filter attribute.
Methods
mixed
getAttribute(string $attribute, mixed $default = '')
Get attribute.
array
Details
at line 34
abstract mixed
getAttribute(string $attribute, mixed $default = '')
Get attribute.
at line 43
array
applyQueryFilter(RequestInterface $request, array $query_vars)
Apply the query filter, if any.