Is it possible to change the text of the button to download the invoice?
-
The button that appears in the list of orders to download the PDF, would it be possible to change the text depending on the status of the order?
if ( $order->get_status() == ‘completed’ }
HERE TEXT ‘INVOICE’
} else {
HERE TEXT ‘ANOTHER TEXT’
}
Please I need help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is it possible to change the text of the button to download the invoice?’ is closed to new replies.