Guest User

Untitled

a guest
Jul 17th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. * Add your own functions here. You can also copy some of the theme functions into this file.
  5. * Wordpress will use those functions instead of the original functions then.
  6. */
  7.  
  8. // Enables Enfold debug mode.
  9. add_action('avia_builder_mode', "builder_set_debug");
  10. function builder_set_debug()
  11. {
  12. return "debug";
  13. }
  14.  
  15. /*
  16. * Removes products count after categories name
  17. */
  18. add_filter( 'woocommerce_subcategory_count_html', 'woo_remove_category_products_count' );
  19.  
  20. function woo_remove_category_products_count() {
  21. return;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment