Skip Navigation

[Closed] How to send notifications when cred form submitted to a group of subscribers?

This support ticket is created 9 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 3 replies, has 2 voices.

Last updated by Adriano 9 years, 1 month ago.

Assigned support staff: Adriano.

Author
Posts
#197661

May I know how should I pull out the list of emails of the subscribers and send the post details to the subscribers every time when there's new post submitted via cred form?

#197714

Dear Chai,

Unfortunatelly CRED doesn't has this feature. The available ones are:

Send notification to an email specified in a form field, Send notification to an email specified in a form field, Send notification to a WordPress user specified in a form field and Send notification to a specific email address.

#197761

Hi, i understand that. But would like to know if i would like to hook on to any event for the behavior, which specific event should i take note? Or any core file that i can extend the function?

#198038

Dear Chai,

We have a similar filter:

add_filter('cred_notification_recipients','my_cred_notification_recipients',10,4);

The function take $recipients and return my recipients:

function my_cred_notification_recipients($recipients){
if (!is_array($recipients)) {
  $recipients=array();
 }
//some custom code to pass recipients each recipient should be an array (array('to'=>'to', 'name'=>'', 'lastname'=>'', 'address'=>$recipient);)

return $recipients;

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

The topic ‘[Closed] How to send notifications when cred form submitted to a group of subscribers?’ is closed to new replies.