woocommerce_structured_data_type_for_page

woocommerce_structured_data_type_for_page

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_structured_data_type_for_page') is found 1 times:

  • /includes/class-wc-structured-data.php line 124
    		$types[] = is_product() ? 'review' : '';
    		$types[] = 'breadcrumblist';
    		$types[] = 'order';
    
    		return array_filter( apply_filters( 'woocommerce_structured_data_type_for_page', $types ) );
    	}
    
    	/**
    	 * Makes sure email structured data only outputs on non-plain text versions.
    	 *
    	 * @param WP_Order $order         Order data.