This filter is applied within the bcn_admin
(by means of the mtekk_adminkit::wp_loaded()
) and the bcn_breadcrumb class in the class constructor. Note that Breadcrumb NavXT itself registers a filter for this filter to load in extended attributes for select tags, it is advised that end users use a priority with value greater than 1 to prevent unexpected results. This filter was introduced in version 4.4. It receives one parameter:
- $allowed_html – (array)(required) The array result of acceptable HTML tags and attributes. See the WordPress codex for
wp_kses()
for an example of this array structure