<?php 

/**
* Front Category Section Hook 
*/
if ( ! function_exists( 'front_category_section_hook' ) ) :
    function front_category_section_hook() {  ?>
        <section class="category-news my-100">
            <div class="container">
                <div class="section-title">
                    <div class="section-title-wrapper">
                        <div class="section-title-wrap">
                            <<?php echo esc_attr( get_theme_mod( 'category_section_title_tag', 'h2' ) ); ?> class="big-title category-title" data-aos="fade-right" data-aos-duration="800" data-aos-delay="100"><?php echo esc_html( get_theme_mod( 'category_section_title', __('Categoris','newscope') ) ); ?></<?php echo esc_attr( get_theme_mod( 'category_section_title_tag', 'h2' ) ); ?>>
                        </div>
                    </div>
                </div>
                <?php do_action( 'newscope_category_section_action' ); ?>
            </div>
        </section>
    <?php  }
endif;
add_action( 'front_category_section_action', 'front_category_section_hook' );