array( 'link' => '', 'count' => '', ), ) ); return $cat_options[ $type ]; } } /** * get_category_classes * * Get category classes from category type. * * @return array * @since 1.0 */ if ( ! function_exists( 'alpha_get_category_classes' ) ) { function alpha_get_category_classes() { $category_type = 'default'; $category_class = 'cat-type-default cat-type-absolute'; /** * Filters the category classes. * * @since 1.0 */ return apply_filters( 'alpha_get_category_classes', $category_class, $category_type ); } } /* Product Category Types */ foreach ( apply_filters( 'alpha_pc_types', array( 'default' => true, ), 'hooks' ) as $key => $value ) { if ( $key && $value ) { require_once alpha_framework_path( ALPHA_FRAMEWORK_PLUGINS . "/woocommerce/product-category/product-category-{$key}.php" ); } } /** * Fires after setting product category actions and filters. * * Here you can remove and add more actions and filters. * * @since 1.0 */ do_action( 'alpha_after_pc_hooks' );