woocommerce_gateway_title filter-hookWC 1.0

Usage

add_filter( 'woocommerce_gateway_title', 'wp_kama_woocommerce_gateway_title_filter', 10, 2 );

/**
 * Function for `woocommerce_gateway_title` filter-hook.
 * 
 * @param  $title 
 * @param  $id    
 *
 * @return 
 */
function wp_kama_woocommerce_gateway_title_filter( $title, $id ){

	// filter...
	return $title;
}
$title
-
$id
-

Where the hook is called

WC_Payment_Gateway::get_title()
woocommerce_gateway_title
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 309
return apply_filters( 'woocommerce_gateway_title', $title, $this->id );

Where the hook is used in WooCommerce

Usage not found.