woocommerce_api_loaded action-hookWC 1.0

Allow plugins to load other response handlers or resource classes.

Usage

add_action( 'woocommerce_api_loaded', 'wp_kama_woocommerce_api_loaded_action' );

/**
 * Function for `woocommerce_api_loaded` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_api_loaded_action(){

	// action...
}

Where the hook is called

WC_Legacy_API::includes()
woocommerce_api_loaded
WC_Legacy_API::handle_v1_rest_api_request()
woocommerce_api_loaded
WC_Legacy_API::handle_v2_rest_api_request()
woocommerce_api_loaded
woocommerce/includes/legacy/class-wc-legacy-api.php 148
do_action( 'woocommerce_api_loaded' );
woocommerce/includes/legacy/class-wc-legacy-api.php 203
do_action( 'woocommerce_api_loaded' );
woocommerce/includes/legacy/class-wc-legacy-api.php 250
do_action( 'woocommerce_api_loaded' );

Where the hook is used in WooCommerce

Usage not found.