WP Kernel API / core/src / WPK_EVENTS
Variable: WPK_EVENTS
ts
const WPK_EVENTS: object;
Public event names
WordPress hook event names that are part of the public API. External code (plugins, themes) can listen to these events.
Type Declaration
ACTION_START
ts
readonly ACTION_START: "wpk.action.start";
Action lifecycle events
ACTION_COMPLETE
ts
readonly ACTION_COMPLETE: "wpk.action.complete";
ACTION_ERROR
ts
readonly ACTION_ERROR: "wpk.action.error";
RESOURCE_REQUEST
ts
readonly RESOURCE_REQUEST: "wpk.resource.request";
Resource transport events
RESOURCE_RESPONSE
ts
readonly RESOURCE_RESPONSE: "wpk.resource.response";
RESOURCE_ERROR
ts
readonly RESOURCE_ERROR: "wpk.resource.error";
CACHE_INVALIDATED
ts
readonly CACHE_INVALIDATED: "wpk.cache.invalidated";
Cache invalidation events