MCPcopy Create free account
hub / github.com/WPUserManager/wp-optionskit / hooks

Method hooks

wp-optionskit.php:150–157  ·  view source on GitHub ↗

* Hook into WordPress and run things. * * @return void */

()

Source from the content-addressed store, hash-verified

148 * @return void
149 */
150 private function hooks() {
151
152 add_action( 'admin_menu', array( $this, 'add_settings_page' ), apply_filters( $this->func . '_admin_menu_priority', 10 ) );
153 add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
154 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ), 100 );
155 add_action( 'rest_api_init', array( $this, 'register_rest_controller' ) );
156
157 }
158
159 /**
160 * Register the WP API controller for the options panel.

Callers 1

__constructMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected