Sauter la navigation
availability:

WooCommerce Multilingual Version: 4.9.0

description:

Filter language for Gateway strings ( title, description, instructions )

type:
filter
category:
Miscellaneous
parameters:
$current_gateway_language
(string) Gateway string language
hook example usage:
add_filter( 'wcml_current_gateway_language', 'use_current_language_for_gateway_strings' );

public function use_current_language_for_gateway_strings( $current_gateway_language ){
    return apply_filters( 'wpml_current_language' );
}