woocommerce_generate_order_key filter-hookWC 1.0

Usage

add_filter( 'woocommerce_generate_order_key', 'wp_kama_woocommerce_generate_order_key_filter' );

/**
 * Function for `woocommerce_generate_order_key` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_generate_order_key_filter( $string ){

	// filter...
	return $string;
}
$string
-

Where the hook is called

wc_generate_order_key()
woocommerce_generate_order_key
woocommerce/includes/wc-order-functions.php 163
return 'wc_' . apply_filters( 'woocommerce_generate_order_key', 'order_' . $key );

Where the hook is used in WooCommerce

Usage not found.