Categories
CMS Development Wordpress

New bulk action to resend welcome emails

I have added a new custom bulk action to the user listing page called Resend Welcome Email, it is showing and running.
What I’m looking to do is fire the Resend Welcome Email plugin’s action. I’m struggling to implement this… I have tried to use the add_action call of:

add_action ( 'resend_welcome_email', 20, $user );

But nothing seems to happen. It is possible to fire a plugin’s action via this method? Is that how add_action works?
Thanks,
Adam

Leave a Reply

Your email address will not be published. Required fields are marked *