Automattic\WooCommerce\Internal

RestApiControllerBase::register()publicWC 1.0

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() 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' ) );
}