• Resolved Sehrish

    (@sehirsh)


    Hello Team,

    First of all great plugin!

    I want to do few customization in your plugin but there are no action hooks available in meta box’s code snippet so that I can add a custom code there.

    Actually, I’m experiencing problem with Email All customer button. When customers are more than 100 then this button does not work due to end of recipient limit for a particular email box. So, I need to break emails address in chunks here with multiple buttons.

    Can you please add custom hooks on “Email All Customers” by passing the “emaillist” as parameter so that I can write optimized code.

    I look forward to hearing from you. Thank you for your help in advance!

    Regards,
    Sehrish

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kokomo

    (@kokomoweb)

    Hi @sehirsh,

    thanks for the kind words. Would the following action, right after the email button suit you? $emaillist is the coma separated list of all emails. Let me know:

    <?php do_action('wpcl_email_button', $emaillist); ?>

    Plugin Author Kokomo

    (@kokomoweb)

    Also don’t hesitate if you have suggestions for other hooks, I’ve been meaning to add some for a while but never got to it.

    Plugin Author Kokomo

    (@kokomoweb)

    hi @sehirsh,

    I have added the hook to the latest version of the plugin. Please let me know if it works for you

    Thread Starter Sehrish

    (@sehirsh)

    Hello Kokomo,

    Thank you for the follow up. It is working fine.

    You also need to apply filter to query that fetching the customers.

    I’ve one more suggestion for you. When we click “Email all customers” button, it does not work when we have number of customers exceeding from emails sending limits. For example if I have limitation to send 25 customers emails at a time then Email all customers button no longer able to work for me.

    So, one thing you can do is to add one more button that send email according to figure that is available in show order drop down and pagination result will also count. As when I move to 2nd page then this button send next customers of that page.

    Your cooperation will be highly appreciated. Thank you once again for this great plugin.

    Regards,
    Sehrish

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Hook Required’ is closed to new replies.