woocommerce_api_product_tags_response

woocommerce_api_product_tags_response

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_api_product_tags_response') is found 1 times:

  • /includes/legacy/api/v3/class-wc-api-products.php line 896
    			foreach ( $terms as $term_id ) {
    				$product_tags[] = current( $this->get_product_tag( $term_id, $fields ) );
    			}
    
    			return array( 'product_tags' => apply_filters( 'woocommerce_api_product_tags_response', $product_tags, $terms, $fields, $this ) );
    		} catch ( WC_API_Exception $e ) {
    			return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) );
    		}
    	}
    
    	/**