<?php
/**
 * @author  wpWax
 * @since   7.3.0
 * @version 8.0
 */

if ( ! defined( 'ABSPATH' ) ) exit;
?>

<div class="directorist-card__body">
    <?php if ( 'dropdown' == $query_args['template'] ) : ?>
        <form action="<?php echo esc_url( ATBDP_Permalink::get_search_result_page_link() ); ?>">
            <input type="hidden" name="q" placeholder="">
            <select name="in_cat" id="at_biz_dir-category" onchange="this.form.submit()">
                <?php echo directorist_kses( $categories, 'form_input' ); ?>
            </select>
        </form>
    <?php else :
        echo wp_kses_post( $categories );
    endif; ?>
</div>
