当前位置: 首页>>代码示例>>PHP>>正文


PHP bsf_get_option函数代码示例

本文整理汇总了PHP中bsf_get_option函数的典型用法代码示例。如果您正苦于以下问题:PHP bsf_get_option函数的具体用法?PHP bsf_get_option怎么用?PHP bsf_get_option使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bsf_get_option函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: dualbutton_scripts

 function dualbutton_scripts()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ult-dualbutton', plugins_url($css_path . 'dual-button' . $ext . '.css', __FILE__));
     wp_register_script("jquery.dualbtn", plugins_url($js_path . "dual-button" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
     if (isset($_SERVER['HTTP_REFERER'])) {
         $params = parse_url($_SERVER['HTTP_REFERER']);
         $vc_is_inline = false;
         if (isset($params['query'])) {
             parse_str($params['query'], $params);
             $vc_is_inline = isset($params['vc_action']) ? true : false;
         }
         if ($vc_is_inline) {
             //echo $vc_is_inline;
             wp_enqueue_style('ult-dualbutton', plugins_url($css_path . 'dual-button' . $ext . '.css', __FILE__));
             wp_enqueue_script("jquery.dualbtn", plugins_url($js_path . "dual-button" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
         }
     }
 }
开发者ID:lieison,项目名称:IndustriasFenix,代码行数:28,代码来源:Ultimate_Dual_Button.php

示例2: admin_scripts

 function admin_scripts($hook)
 {
     if ($hook == "post.php" || $hook == "post-new.php" || $hook == 'visual-composer_page_vc-roles') {
         $bsf_dev_mode = bsf_get_option('dev_mode');
         if ($bsf_dev_mode === 'enable') {
             wp_enqueue_script('ult-team-admin', plugins_url('../admin/js/team-admin.js', __FILE__), array('jquery'), ULTIMATE_VERSION, true);
         }
     }
 }
开发者ID:ksan5835,项目名称:maadithottam,代码行数:9,代码来源:Ultimate_Team.php

示例3: admin_scripts

 function admin_scripts($hook)
 {
     if ($hook == "post.php" || $hook == "post-new.php") {
         $bsf_dev_mode = bsf_get_option('dev_mode');
         if ($bsf_dev_mode === 'enable') {
             //wp_enqueue_script('jquery.datetimep',plugins_url('../admin/js/bootstrap-datetimepicker.min.js',__FILE__),'1.0','jQuery',true);
             wp_register_style("ult-colorpicker-style", plugins_url('../admin/css/bootstrap-datetimepicker-admin.css', __FILE__));
             wp_enqueue_style('ult-colorpicker-style');
         }
     }
 }
开发者ID:jeanzum,项目名称:prueba,代码行数:11,代码来源:Ultimate_CountDown.php

示例4: image_single_scripts

 function image_single_scripts($hook)
 {
     if ($hook == "post.php" || $hook == "post-new.php") {
         wp_enqueue_media();
         $bsf_dev_mode = bsf_get_option('dev_mode');
         if ($bsf_dev_mode === 'enable') {
             wp_register_style("ultimate_image_single_css", plugins_url('../admin/vc_extend/css/ultimate_image_single.css', __FILE__));
             wp_enqueue_style('ultimate_image_single_css');
         }
     }
 }
开发者ID:jfitzsimmons,项目名称:soundtrackforspace,代码行数:11,代码来源:Ultimate_Image_Single.php

示例5: button_admin_scripts

 function button_admin_scripts($hook)
 {
     if ($hook == "post.php" || $hook == "post-new.php") {
         $bsf_dev_mode = bsf_get_option('dev_mode');
         if ($bsf_dev_mode === 'enable') {
             $js_path = '../assets/js/';
             $css_path = '../assets/css/';
             $ext = '';
             wp_enqueue_style('ult-button', plugins_url($css_path . 'advanced-buttons' . $ext . '.css', __FILE__));
         }
     }
 }
开发者ID:jeanzum,项目名称:prueba,代码行数:12,代码来源:Ultimate_Buttons.php

示例6: register_ib_banner_assets

 function register_ib_banner_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ult-interactive-banner', plugins_url($css_path . 'interactive-styles' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION, false);
 }
开发者ID:mazykin46,项目名称:portfolio,代码行数:14,代码来源:Ultimate_Interactive_Banners.php

示例7: info_table_assets

 function info_table_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ultimate-pricing', plugins_url($css_path . 'pricing' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION, false);
 }
开发者ID:mazykin46,项目名称:portfolio,代码行数:14,代码来源:Ultimate_Info_Tables.php

示例8: register_cta_assets

 function register_cta_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('utl-ctaction-style', plugins_url($css_path . 'highlight-box' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION);
     wp_register_script('utl-ctaction-script', plugins_url($js_path . 'highlight-box' . $ext . '.js', __FILE__), array('jquery'), ULTIMATE_VERSION);
 }
开发者ID:timb1981,项目名称:ChamferZone,代码行数:15,代码来源:Ultimate_Hightlight_Box.php

示例9: register_swatch_assets

 function register_swatch_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_script("swatchbook-js", plugins_url($js_path . "swatchbook" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
     wp_register_style("swatchbook-css", plugins_url($css_path . "swatchbook" . $ext . ".css", __FILE__), array(), ULTIMATE_VERSION);
 }
开发者ID:VitaAprel,项目名称:mynotebook,代码行数:15,代码来源:Ultimate_Swatch_Book.php

示例10: creative_link_scripts

 function creative_link_scripts()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ult_cllink', plugins_url($css_path . 'creative-link' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION);
     wp_register_script("jquery.ult_cllink", plugins_url($js_path . "creative-link" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
 }
开发者ID:timb1981,项目名称:ChamferZone,代码行数:15,代码来源:Ultimate_link.php

示例11: register_info_banner_assets

 function register_info_banner_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_script('utl-info-banner-script', plugins_url($js_path . 'info-banner' . $ext . '.js', __FILE__), array('jquery', 'ultimate-appear'), ULTIMATE_VERSION);
     wp_register_style('utl-info-banner-style', plugins_url($css_path . 'info-banner' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION);
 }
开发者ID:mazykin46,项目名称:portfolio,代码行数:15,代码来源:Ultimate_Info_Banner.php

示例12: register_easy_separator_assets

 function register_easy_separator_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ult-easy-separator-style', plugins_url($css_path . 'image-separator' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION);
     wp_register_script('ult-easy-separator-script', plugins_url($js_path . 'image-separator' . $ext . '.js', __FILE__), array('jquery'), ULTIMATE_VERSION);
 }
开发者ID:ksan5835,项目名称:maadithottam,代码行数:15,代码来源:Ultimate_Image_Separator.php

示例13: register_info_circle_assets

 function register_info_circle_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_script("info-circle", plugins_url($js_path . "info-circle" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
     wp_register_script("info-circle-ui-effect", plugins_url($js_path . "jquery-ui-effect" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
     wp_register_style("info-circle", plugins_url($css_path . "info-circle" . $ext . ".css", __FILE__), array(), ULTIMATE_VERSION, false);
 }
开发者ID:VitaAprel,项目名称:mynotebook,代码行数:16,代码来源:Ultimate_Info_Circle.php

示例14: ultimate_exp_scripts

 function ultimate_exp_scripts()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('style_ultimate_expsection', plugins_url($css_path . 'expandable-section' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION, FALSE);
     wp_register_script("jquery_ultimate_expsection", plugins_url($js_path . "expandable-section" . $ext . ".js", __FILE__), array('jquery', 'jquery_ui'), ULTIMATE_VERSION);
     wp_register_script("jquery_ui", plugins_url($js_path . "jquery-ui" . $ext . ".js", __FILE__), array('jquery'), ULTIMATE_VERSION);
 }
开发者ID:timb1981,项目名称:ChamferZone,代码行数:16,代码来源:Ultimate_Expandable_section.php

示例15: register_fancytext_assets

 function register_fancytext_assets()
 {
     $bsf_dev_mode = bsf_get_option('dev_mode');
     if ($bsf_dev_mode === 'enable') {
         $js_path = '../assets/js/';
         $css_path = '../assets/css/';
         $ext = '';
     } else {
         $js_path = '../assets/min-js/';
         $css_path = '../assets/min-css/';
         $ext = '.min';
     }
     wp_register_style('ultimate-fancytext-style', plugins_url($css_path . 'fancytext' . $ext . '.css', __FILE__), array(), ULTIMATE_VERSION);
     wp_register_script('ultimate-typed-js', plugins_url($js_path . 'typed' . $ext . '.js', __FILE__), array('jquery'), ULTIMATE_VERSION);
     wp_register_script('ultimate-vticker-js', plugins_url($js_path . 'vticker' . $ext . '.js', __FILE__), array('jquery'), ULTIMATE_VERSION);
 }
开发者ID:VitaAprel,项目名称:mynotebook,代码行数:16,代码来源:Ultimate_Fancy_Text.php


注:本文中的bsf_get_option函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。