Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * Add your own functions here. You can also copy some of the theme functions into this file.
- * Wordpress will use those functions instead of the original functions then.
- */
- // Enables Enfold debug mode.
- add_action('avia_builder_mode', "builder_set_debug");
- function builder_set_debug()
- {
- return "debug";
- }
- /*
- * Removes products count after categories name
- */
- add_filter( 'woocommerce_subcategory_count_html', 'woo_remove_category_products_count' );
- function woo_remove_category_products_count() {
- return;
- }
- if(!function_exists('avia_title_args_woopage'))
- {
- add_filter('avf_title_args','avia_title_args_woopage', 10, 4);
- function avia_title_args_woopage($args)
- {
- if(is_single() && is_product() || is_front_page() || is_home() )
- {
- $args['heading'] = "strong";
- }
- return $args;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment