<?php

if ( !defined( 'ABSPATH' ) ) {
    exit;
}

if ( !class_exists( 'Reon' ) ) {

    return;
}

if ( !class_exists( 'Pricely_Admin_Settings_Badge_Styles_Page' ) ) {

    Reon_Utils::get_instance()->recursive_require( dirname( __FILE__ ), array( 'settings-ui-badge-section.php' ) );

    class Pricely_Admin_Settings_Badge_Styles_Page {

        private $option_name = PRICELY_OPTION_NAME;

        public function __construct() {

            add_filter( 'reon_get-option-page-' . $this->option_name . 'section-badge_styles_settings-fields', array( $this, 'get_fields' ), 10 );
        }

        public function get_fields( $in_fields ) {

            return apply_filters( 'pricely_admin_get-settings-badge-styles-section-panels', $in_fields );
        }

    }

}
