apply_filters( 'cp_attributes', string[] $attrs, string $element, string $context )

Filters the attribute array.


Parameters

$attrs

Key is attribute name, value is attribute value.

$element

The HTML element the attributes are for.

$context

Identifying information for this element.


Source

File: wp-includes/formatting.php

View on GitHub


Changelog

Changelog
Version Description
CP-1.5.0 Introduced. CP-1.5.0