Change the notification message of Post Submission
Use these two filters
$subject = apply_filters('videopro_post_submission_user_notification_subject', $subject);
and
$message = apply_filters('videopro_post_submission_user_notification_message', $message, $video_permalink);
Following these steps
- To change the subject of the message, add these lines into /functions.php of your child theme
add_filter('videopro_post_submission_user_notification_subject','my_post_submission_subject_filter', 10, 1); function my_post_submission_subject_filter($subject){ $new_subject = 'Your post submission has been approved'; return $new_subject; }
- To change the content of the message, add these lines into /functions.php of your child theme
add_filter('videopro_post_submission_user_notification_message', 'my_post_submission_content_filter', 10, 2); function my_post_submission_content_filter($message, $video_permalink){ $new_content = 'Congratulation! Your submission has been approved. You can see it here: ' . $video_permalink; return $new_content; }
- Change the text as you wish.