TitanFrameworkOptionSelect::load_select_scripts PHP Method

load_select_scripts() public method

Register and load the select2 script
Since: 1.9.3
public load_select_scripts ( ) : void
return void
    public function load_select_scripts()
    {
        wp_enqueue_script('tf-select2', TitanFramework::getURL('../js/select2/select2.min.js', __FILE__), array('jquery'), TF_VERSION, true);
        wp_enqueue_style('tf-select2-style', TitanFramework::getURL('../css/select2/select2.min.css', __FILE__), null, TF_VERSION, 'all');
        wp_enqueue_style('tf-select-option-style', TitanFramework::getURL('../css/class-option-select.css', __FILE__), null, TF_VERSION, 'all');
    }