Actions
in package
Uses
Instance
Manages theme actions.
This class is responsible for registering and executing theme-specific actions.
Table of Contents
- do_action() : void
- Executes a specified action if it exists in the list of theme actions.
- get() : ThemeInterface
- Instantiate.
- get_brisko_actions() : array<string|int, mixed>
- Retrieves the list of theme-specific actions.
Methods
do_action()
Executes a specified action if it exists in the list of theme actions.
public
do_action(string $action) : void
Parameters
- $action : string
-
The name of the action to execute.
Tags
Return values
void —get()
Instantiate.
public
static get() : ThemeInterface
Return values
ThemeInterface —get_brisko_actions()
Retrieves the list of theme-specific actions.
public
get_brisko_actions() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of action hooks.