entry.php
Adds the small front-end entry affordance for eligible signed-in editors without loading the entire editor on every visitor page.
Responsibility#
Adds the small front-end entry affordance for eligible signed-in editors without loading the entire editor on every visitor page.
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_filter |
login_message |
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_entry_config#
function cantata_edit_entry_config(): ?array
Internal implementation helper in this module. Its name and signature identify the operation and accepted PHP values; it is not a standalone authenticated endpoint.
Implementation connections: cantata_edit_asset_ver, cantata_edit_config, cantata_edit_is_editing, cantata_edit_url.
Source location: includes/entry.php:6.
cantata_edit_entry_login_message#
function cantata_edit_entry_login_message( string $message ): string
Keep the editing intent visible through WordPress's normal sign-in handoff.
Source location: includes/entry.php:43.