woocommerce_order_item_visible filter-hookWC 1.0

Usage

add_filter( 'woocommerce_order_item_visible', 'wp_kama_woocommerce_order_item_visible_filter', 10, 2 );

/**
 * Function for `woocommerce_order_item_visible` filter-hook.
 * 
 * @param  $true 
 * @param  $item 
 *
 * @return 
 */
function wp_kama_woocommerce_order_item_visible_filter( $true, $item ){

	// filter...
	return $true;
}
$true
-
$item
-

Where the hook is called

In file: /templates/emails/email-order-items.php
woocommerce_order_item_visible
woocommerce/templates/emails/email-order-items.php 29
if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
woocommerce/templates/emails/plain/email-order-items.php 23
if ( apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
woocommerce/templates/order/order-details-item.php 22
if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
woocommerce/templates/checkout/form-pay.php 36
if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
woocommerce/includes/class-wc-structured-data.php 458
if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {

Where the hook is used in WooCommerce

Usage not found.