woocommerce_api_product_attributes_response

woocommerce_api_product_attributes_response

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_product_attributes_response') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-products.php line 1858
    					'has_archives' => (bool) $attribute->attribute_public,
    				);
    			}
    
    			return array( 'product_attributes' => apply_filters( 'woocommerce_api_product_attributes_response', $product_attributes, $attribute_taxonomies, $fields, $this ) );
    		} catch ( WC_API_Exception $e ) {
    			return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) );
    		}
    	}
    
    	/**
    
  • /includes/legacy/api/v3/class-wc-api-products.php line 2411
    					'has_archives' => (bool) $attribute->attribute_public,
    				);
    			}
    
    			return array( 'product_attributes' => apply_filters( 'woocommerce_api_product_attributes_response', $product_attributes, $attribute_taxonomies, $fields, $this ) );
    		} catch ( WC_API_Exception $e ) {
    			return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) );
    		}
    	}
    
    	/**