Tag Info

New answers tagged

0

add_action('future_to_pending', 'send_emails_on_new_event'); add_action('new_to_pending', 'send_emails_on_new_event'); add_action('draft_to_pending', 'send_emails_on_new_event'); add_action('auto-draft_to_pending', 'send_emails_on_new_event'); /** * Send emails on event publication * * @param WP_Post $post */ function send_emails_on_new_event($post) { ...



Top 50 recent answers are included