$flash="<strong>Notification Saved Successfully!</strong><br /><a href='/wp-admin/admin.php?page=notifications'>Click here</a> to view all notifications.</a>";
@@ -368,9 +366,9 @@ function create_notification() {
,'trigger'=>$trigger
,'execute_date'=>$execute_date
));
update_post_meta($id,'send_status','pending');
add_post_meta($id,"email",array(
'subject'=>$subject
,'text'=>$text
...
...
@@ -380,16 +378,16 @@ function create_notification() {
update_post_meta($id,"system",array(
'system_message_type'=>$system_message_type
,'message'=>$system
));
));
$flash="<strong>Notification Saved Successfully!</strong><br /><a href='/wp-admin/admin.php?page=notifications'>Click here</a> to view all notifications.</a>";