woocommerce_gateway_method_description filter-hookWC 1.0

Return the description for admin screens.

Usage

add_filter( 'woocommerce_gateway_method_description', 'wp_kama_woocommerce_gateway_method_description_filter', 10, 2 );

/**
 * Function for `woocommerce_gateway_method_description` filter-hook.
 * 
 * @param  $method_description 
 * @param  $that               
 *
 * @return 
 */
function wp_kama_woocommerce_gateway_method_description_filter( $method_description, $that ){

	// filter...
	return $method_description;
}
$method_description
-
$that
-

Where the hook is called

WC_Payment_Gateway::get_method_description()
woocommerce_gateway_method_description
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 184
return apply_filters( 'woocommerce_gateway_method_description', $this->method_description, $this );

Where the hook is used in WooCommerce

Usage not found.