woocommerce_paypal_force_one_line_item filter-hookWC 1.0

Usage

add_filter( 'woocommerce_paypal_force_one_line_item', 'wp_kama_woocommerce_paypal_force_one_line_item_filter', 10, 2 );

/**
 * Function for `woocommerce_paypal_force_one_line_item` filter-hook.
 * 
 * @param  $false 
 * @param  $order 
 *
 * @return 
 */
function wp_kama_woocommerce_paypal_force_one_line_item_filter( $false, $order ){

	// filter...
	return $false;
}
$false
-
$order
-

Where the hook is called

WC_Gateway_Paypal_Request::get_paypal_args()
woocommerce_paypal_force_one_line_item
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php 195
$force_one_line_item = apply_filters( 'woocommerce_paypal_force_one_line_item', false, $order );

Where the hook is used in WooCommerce

Usage not found.