woocommerce_paypal_get_order_item_names

woocommerce_paypal_get_order_item_names

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_paypal_get_order_item_names') is found 1 times:

  • /includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php line 383
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
            $item_names[] = $item_name . ' x ' . $item->get_quantity();
        }
     
        return apply_filters( 'woocommerce_paypal_get_order_item_names', implode( ', ', $item_names ), $order );
    }
     
    /**
     * Get order item names as a string.
     *
     * @param  WC_Order      $order Order object.