woocommerce_structured_data_product

woocommerce_structured_data_product

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_structured_data_product') is found 1 times:

  • /includes/class-wc-structured-data.php line 370
    		if ( empty( $markup['aggregateRating'] ) && empty( $markup['offers'] ) && empty( $markup['review'] ) ) {
    			return;
    		}
    
    		$this->set_data( apply_filters( 'woocommerce_structured_data_product', $markup, $product ) );
    	}
    
    	/**
    	 * Generates Review structured data.
    	 *
    	 * Hooked into `woocommerce_review_meta` action hook.