Automattic\WooCommerce\Internal
RestApiControllerBase::register()
Register the hooks used by the class.
Method of the class: RestApiControllerBase{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$RestApiControllerBase = new RestApiControllerBase(); $RestApiControllerBase->register();
RestApiControllerBase::register() RestApiControllerBase::register code WC 9.8.4
public function register() { add_filter( 'woocommerce_rest_api_get_rest_namespaces', array( $this, 'handle_woocommerce_rest_api_get_rest_namespaces' ) ); }