apply_filters( "cp_attributes_{$context}", string[] $attrs , string $element )
Filters the attribute array, specifically using context.
Description
The dynamic portion of the hook name, $context
, refers to the context.
Parameters
- $attrs
-
Key is attribute name, value is attribute value.
- $element
-
The HTML element the attributes are for.
Source
Changelog
Version | Description |
---|---|
CP-1.5.0 | Introduced. CP-1.5.0 |