Title: Custom Hook Required
Last modified: June 13, 2017

---

# Custom Hook Required

 *  Resolved [Sehrish](https://wordpress.org/support/users/sehirsh/)
 * (@sehirsh)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/custom-hook-required/)
 * 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](https://wordpress.org/support/users/kokomoweb/)
 * (@kokomoweb)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/custom-hook-required/#post-9223999)
 * Hi [@sehirsh](https://wordpress.org/support/users/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](https://wordpress.org/support/users/kokomoweb/)
 * (@kokomoweb)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/custom-hook-required/#post-9224008)
 * 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](https://wordpress.org/support/users/kokomoweb/)
 * (@kokomoweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/custom-hook-required/#post-9284954)
 * hi [@sehirsh](https://wordpress.org/support/users/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](https://wordpress.org/support/users/sehirsh/)
 * (@sehirsh)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-hook-required/#post-9420383)
 * 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.

 * ![](https://ps.w.org/wc-product-customer-list/assets/icon-256x256.gif?rev=3531446)
 * [Product Customer List for WooCommerce](https://wordpress.org/plugins/wc-product-customer-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-product-customer-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-product-customer-list/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-product-customer-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-product-customer-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-product-customer-list/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sehrish](https://wordpress.org/support/users/sehirsh/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/custom-hook-required/#post-9420383)
 * Status: resolved