woocommerce_api_classes

woocommerce_api_classes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.4.0

apply_filters('woocommerce_api_classes') is found 3 times:

  • /includes/legacy/class-wc-legacy-api.php line 160
    	 * @param WC_API_Server $server the REST server.
    	 */
    	public function register_resources( $server ) {
    
    		$api_classes = apply_filters( 'woocommerce_api_classes',
    			array(
    				'WC_API_Coupons',
    				'WC_API_Customers',
    				'WC_API_Orders',
    				'WC_API_Products',
    				'WC_API_Reports',
    
  • /includes/legacy/class-wc-legacy-api.php line 208
     
    		$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',
    			array(
    				'WC_API_Customers',
    				'WC_API_Orders',
    				'WC_API_Products',
    				'WC_API_Coupons',
    				'WC_API_Reports',
    
  • /includes/legacy/class-wc-legacy-api.php line 255
     
    		$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',
    			array(
    				'WC_API_Customers',
    				'WC_API_Orders',
    				'WC_API_Products',
    				'WC_API_Coupons',
    				'WC_API_Reports',