Trigger notification with custom string
-
Hello,
I am using a plugin called RestroPress which creates orders and allows users to assign the orders different statuses, such as
PENDING
,ACCEPTED
orREADY
.Here’s a piece of code that sends an email when these conditions are met:
if ( !empty( $payment_id ) && $check_notification_enabled && $new_status !== 'pending' && $new_status == 'ready' ) {
How can I, with your plugin, trigger a push notification when the order status is set to
READY
?Meaning, is there a way to determine the STRING and the VALUE that it has to meet in order to trigger the notification?
Thanks ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trigger notification with custom string’ is closed to new replies.