woocommerce_cod_icon
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
woocommerce_cod_icon
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 79
$this->icon = apply_filters( 'woocommerce_cod_icon', '' );