• Resolved antoine69

    (@antoine69)


    Hi,

    I’ve noticed that when I copy or duplicate a post or a product (in Woocommerce) the task to send an email to the lists is not triggered. Only when we create a post/product from scratch is the task scheduled to send emails.
    Would there be a workaround for this please ?
    The plugin I use to duplicate is: “Duplicate page” by mndpsingh287.
    Thanks
    Patrick

    • This topic was modified 1 year, 7 months ago by antoine69.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @antoine69,

    Thank you for reaching out to us!

    After reviewing your mail i suggest you to use this code snippet to send notification for duplicate post

    //<?php Uncomment this line if this line is already not present in the functions.php file.

    add_filter( 'get_post_metadata', 'es_cc_ovveride_is_post_notified', 10, 5 );

    function es_cc_ovveride_is_post_notified( $value, $object_id, $meta_key, $single, $meta_type ) {

    if ( 'ig_es_is_post_notified' === $meta_key ) {

    return false;

    }

    return $value;

    }

    above code snippet you can either add in the current child theme’s functions.php or can use Code snippets plugin.

    Let us know how things are progressing on your side!

    Thread Starter antoine69

    (@antoine69)

    Hi,

    Thank you very much, it worls perfectly !

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @antoine69 ,

    Since the inquiry has been resolved, I’m closing this thread for now. If you have any further questions or issues related to the plugin, feel free to reopen it.

    You can open a new thread from here. We will be happy to assist you further.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Duplicate post/product not triggered’ is closed to new replies.