Registers the default actions.
Description
The function also executes a hook that should be used by other developers to register their own actions.
See also
Source
File: src/modules/actions/module.php
protected function register_defaults() { foreach ( $this->default_submodules as $slug => $class_name ) { $this->register( $slug, $class_name ); } /** * Fires when the default actions have been registered. * * This action should be used to register custom actions. * * @since 1.0.0 * * @param Module $actions Action manager instance. */ do_action( "{$this->get_prefix()}register_actions", $this ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |