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


PHP ReduxFrameworkPlugin::get_instance方法代码示例

本文整理汇总了PHP中ReduxFrameworkPlugin::get_instance方法的典型用法代码示例。如果您正苦于以下问题:PHP ReduxFrameworkPlugin::get_instance方法的具体用法?PHP ReduxFrameworkPlugin::get_instance怎么用?PHP ReduxFrameworkPlugin::get_instance使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ReduxFrameworkPlugin的用法示例。


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

示例1: grve_remove_redux_demo_link

function grve_remove_redux_demo_link()
{
    if (class_exists('ReduxFrameworkPlugin')) {
        remove_filter('plugin_row_meta', array(ReduxFrameworkPlugin::get_instance(), 'plugin_metalinks'), null, 2);
    }
    if (class_exists('ReduxFrameworkPlugin')) {
        remove_action('admin_notices', array(ReduxFrameworkPlugin::get_instance(), 'admin_notices'));
    }
}
开发者ID:poweronio,项目名称:mbsite,代码行数:9,代码来源:functions.php

示例2: remove_demo

 function remove_demo()
 {
     // Used to hide the demo mode link from the plugin page. Only used when Redux is a plugin.
     if (class_exists('ReduxFrameworkPlugin')) {
         remove_filter('plugin_row_meta', array(ReduxFrameworkPlugin::get_instance(), 'plugin_meta_demo_mode_link'), null, 2);
     }
     // Used to hide the activation notice informing users of the demo panel. Only used when Redux is a plugin.
     remove_action('admin_notices', array(ReduxFrameworkPlugin::get_instance(), 'admin_notices'));
 }
开发者ID:brycefrees,项目名称:DivisionWest,代码行数:9,代码来源:sf-options.php

示例3: removeDemoModeLink

 function removeDemoModeLink()
 {
     // Be sure to rename this function to something more unique
     if (class_exists('ReduxFrameworkPlugin')) {
         remove_filter('plugin_row_meta', array(ReduxFrameworkPlugin::get_instance(), 'plugin_metalinks'), null, 2);
     }
     if (class_exists('ReduxFrameworkPlugin')) {
         remove_action('admin_notices', array(ReduxFrameworkPlugin::get_instance(), 'admin_notices'));
     }
 }
开发者ID:QuackenbushDev,项目名称:prso-gravity-forms-adv-uploader,代码行数:10,代码来源:class.prso-gravity-forms-adv-uploader.php

示例4: removeDemoModeLink

/**

	Used to hide the demo mode link from the plugin page. Only used when Redux is a plugin.

**/
function removeDemoModeLink()
{
    if (class_exists('ReduxFrameworkPlugin')) {
        remove_filter('plugin_row_meta', array(ReduxFrameworkPlugin::get_instance(), 'plugin_meta_demo_mode_link'), null, 2);
    }
}
开发者ID:Bitcoinsulting,项目名称:website-ads,代码行数:11,代码来源:sample-config.php

示例5: init

 public static function init()
 {
     # Removing Demo Mode (Redux Framework)
     if (class_exists('ReduxFrameworkPlugin')) {
         remove_filter('plugin_row_meta', array(ReduxFrameworkPlugin::get_instance(), 'plugin_metalinks'), null, 2);
         remove_action('admin_notices', array(ReduxFrameworkPlugin::get_instance(), 'admin_notices'));
     }
     # Register Menus
     register_nav_menu('header-menu', __('Header Menu', 'prodo'));
     register_nav_menu('footer-menu', __('Footer Menu', 'prodo'));
 }
开发者ID:jamestrevorlees,项目名称:odd-web-v1.00,代码行数:11,代码来源:register.php


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