Astra_Ext_Adv_Search_Shortcodes::enqueue_scripts()
Enqueue scripts
Description
Return
(void)
Source
File: addons/advanced-search/classes/class-astra-ext-adv-search-shortcodes.php
public function enqueue_scripts() { /* Define Variables */ $uri = ASTRA_EXT_ADVANCED_SEARCH_URL . 'assets/css/'; $rtl = ''; if ( is_rtl() ) { $rtl = '-rtl'; } /* Directory and Extension */ $file_prefix = $rtl . '.min'; $dir_name = 'minified'; if ( SCRIPT_DEBUG ) { $file_prefix = $rtl; $dir_name = 'unminified'; } $css_uri = $uri . $dir_name . '/'; /*** End Path Logic */ wp_register_style( 'advanced-search-shortcode', $css_uri . 'advanced-search-shortcode' . $file_prefix . '.css', array(), ASTRA_EXT_VER ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.4.8 | Introduced. |