mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
https://stackoverflow.com/questions/70573462/change-backordered-text-on-woocommerce-order-received-page/70576702
7 lines
274 B
Text
7 lines
274 B
Text
function filter_woocommerce_backordered_item_meta_name( $string, $item ) {
|
|
// Replace with new text
|
|
$string = 'My new text';
|
|
|
|
return $string;
|
|
}
|
|
add_filter( 'woocommerce_backordered_item_meta_name', 'filter_woocommerce_backordered_item_meta_name', 10, 2 );
|