mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
5 lines
193 B
Text
5 lines
193 B
Text
add_filter( 'woocommerce_order_number', 'bbloomer_order_number_prefix', 9999, 2 );
|
|
|
|
function bbloomer_order_number_prefix( $order_id, $order ) {
|
|
return 'Prefix-' . $order_id . '-suffix';
|
|
}
|