Newsletters: Action – wpml_subscriber_saved


wpml_subscriber_saved action hook is fired when a subscriber is saved (created or updated).


  • $subscriber_id (ID of the subscriber that was saved).
  • $data (The data Array used to save the subscriber).


function subscriber_saved($subscriber_id = null, $data = null) {
 // do something with the subscriber ID and data here
 // $subscriber = wpml_get_subscriber($subscriber_id);

add_action('wpml_subscriber_saved', 'subscriber_saved', 10, 2);

Website & Email Hosting

Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest

%d bloggers like this: