woocommerce_order_button_text
Usage
add_filter( 'woocommerce_order_button_text', 'wp_kama_woocommerce_order_button_text_filter' ); /** * Function for `woocommerce_order_button_text` filter-hook. * * @param $__ * * @return */ function wp_kama_woocommerce_order_button_text_filter( $__ ){ // filter... return $__; }
- $__
- -
Where the hook is called
woocommerce_order_button_text
woocommerce/includes/wc-template-functions.php 2426
'order_button_text' => apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ),