text.php
Provides the text-editing presentation and WordPress integration needed for editable words.
Responsibility#
Provides the text-editing presentation and WordPress integration needed for editable words.
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.
Related modules#
WordPress hooks#
| Operation | Hook |
|---|---|
add_action |
wp_enqueue_scripts |
add_action |
wp_enqueue_scripts |
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_text_colours#
function cantata_edit_text_colours(): array
[ role => label ] for the color menu.
Implementation connections: cantata_edit_asset_ver, cantata_edit_config, cantata_edit_enqueue.
Source location: includes/text.php:15.