mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-05 12:32:23 +08:00
https://stackoverflow.com/questions/65758241/change-order-received-title-issue-in-woocommerce/65758510
6 lines
293 B
Text
6 lines
293 B
Text
function filter_woocommerce_endpoint_order_received_title( $title, $endpoint, $action ) {
|
|
$title = __( 'Thank you, good luck!', 'woocommerce' );
|
|
|
|
return $title;
|
|
}
|
|
add_filter( 'woocommerce_endpoint_order-received_title', 'filter_woocommerce_endpoint_order_received_title', 10, 3 );
|