Automattic\WooCommerce\Internal

RestApiControllerBase::register()publicWC 1.0

Register the hooks used by the class.

Метод класса: RestApiControllerBase{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$RestApiControllerBase = new RestApiControllerBase();
$RestApiControllerBase->register();

Код RestApiControllerBase::register() WC 9.7.1

public function register() {
	add_filter( 'woocommerce_rest_api_get_rest_namespaces', array( $this, 'handle_woocommerce_rest_api_get_rest_namespaces' ) );
}