native-allowed-html.php
Defines the native HTML attribute and element contract accepted by the sanitizer, including supported controls and serialized settings.
Responsibility#
Defines the native HTML attribute and element contract accepted by the sanitizer, including supported controls and serialized settings.
This is an implementation reference for the released 0.9.13 module. Internal PHP helpers are not a compatibility promise for third-party callers. Prefer the documented REST, Abilities, theme, and filter contracts.
WordPress hooks#
| Operation | Hook |
|---|---|
apply_filters |
cantata_edit_allowed_html |
add_action and add_filter subscribe to a hook; do_action and apply_filters expose a hook. A subscription is not itself a new extension API. Dynamic hook names are not included in this literal inventory.
Function and method reference#
cantata_edit_native_allowed_html#
function cantata_edit_native_allowed_html( bool $admin = false ): array
Shared native model allowlist for installed saves and staged, read-only build validation.
Source location: includes/native-allowed-html.php:3.