woocommerce_cod_icon filter-hookWC 1.0

Setup general properties for the gateway.

Usage

add_filter( 'woocommerce_cod_icon', 'wp_kama_woocommerce_cod_icon_filter' );

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

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

Where the hook is called

WC_Gateway_COD::setup_properties()
woocommerce_cod_icon
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 58
$this->icon               = apply_filters( 'woocommerce_cod_icon', '' );

Where the hook is used in WooCommerce

Usage not found.