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