woocommerce_api_loaded

woocommerce_api_loaded

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_api_loaded') is found 3 times:

  • /includes/legacy/class-wc-legacy-api.php line 252
    		include_once dirname( __FILE__ ) . '/api/v3/class-wc-api-taxes.php';
    		include_once dirname( __FILE__ ) . '/api/v3/class-wc-api-webhooks.php';
    
    		// Allow plugins to load other response handlers or resource classes.
    		do_action( 'woocommerce_api_loaded' );
    	}
    
    	/**
    	 * Register available API resources.
    	 *
    	 * @since 2.1
    
  • /includes/legacy/class-wc-legacy-api.php line 308
    		include_once dirname( __FILE__ ) . '/api/v1/class-wc-api-products.php';
    		include_once dirname( __FILE__ ) . '/api/v1/class-wc-api-reports.php';
    
    		// Allow plugins to load other response handlers or resource classes.
    		do_action( 'woocommerce_api_loaded' );
    
    		$this->server = new WC_API_Server( $GLOBALS['wp']->query_vars['wc-api-route'] );
    
    		// Register available resources for legacy v1 REST API request.
    		$api_classes = apply_filters(
    			'woocommerce_api_classes',
    
  • /includes/legacy/class-wc-legacy-api.php line 356
    		include_once dirname( __FILE__ ) . '/api/v2/class-wc-api-reports.php';
    		include_once dirname( __FILE__ ) . '/api/v2/class-wc-api-webhooks.php';
    
    		// allow plugins to load other response handlers or resource classes.
    		do_action( 'woocommerce_api_loaded' );
    
    		$this->server = new WC_API_Server( $GLOBALS['wp']->query_vars['wc-api-route'] );
    
    		// Register available resources for legacy v2 REST API request.
    		$api_classes = apply_filters(
    			'woocommerce_api_classes',