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


PHP MS_Controller_Plugin::admin_page_hook方法代码示例

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


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

示例1: admin_init

 /**
  * Initialize the admin-side functions.
  *
  * @since  1.0.0
  */
 public function admin_init()
 {
     $hook = MS_Controller_Plugin::admin_page_hook('billing');
     $this->run_action('load-' . $hook, 'admin_billing_manager');
     $this->run_action('admin_print_scripts-' . $hook, 'enqueue_scripts');
     $this->run_action('admin_print_styles-' . $hook, 'enqueue_styles');
 }
开发者ID:EdoMagen,项目名称:project-s-v2,代码行数:12,代码来源:class-ms-controller-billing.php

示例2: admin_init

 /**
  * Initialize the admin-side functions.
  *
  * @since  1.0.0
  */
 public function admin_init()
 {
     $hook = MS_Controller_Plugin::admin_page_hook('help');
     $this->run_action('admin_print_scripts-' . $hook, 'enqueue_scripts');
 }
开发者ID:jsandlin85,项目名称:SkylineSports,代码行数:10,代码来源:class-ms-controller-help.php

示例3: admin_init

 /**
  * Initialize the admin-side functions.
  *
  * @since  1.0.0
  */
 public function admin_init()
 {
     $hooks = array(MS_Controller_Plugin::admin_page_hook(), MS_Controller_Plugin::admin_page_hook('setup'));
     foreach ($hooks as $hook) {
         $this->run_action('load-' . $hook, 'process_admin_page');
         $this->run_action('admin_print_scripts-' . $hook, 'enqueue_scripts');
         $this->run_action('admin_print_styles-' . $hook, 'enqueue_styles');
         if (self::TAB_EMAILS == $this->get_active_edit_tab()) {
             $this->run_action('admin_head-' . $hook, array('MS_Controller_Communication', 'add_mce_buttons'));
         }
     }
 }
开发者ID:nayabbukhari,项目名称:circulocristiano,代码行数:17,代码来源:class-ms-controller-membership.php

示例4: admin_init

 /**
  * Initialize the admin-side functions.
  *
  * @since  1.0.0
  */
 public function admin_init()
 {
     $hooks = array('list' => MS_Controller_Plugin::admin_page_hook('members'), 'editor' => MS_Controller_Plugin::admin_page_hook('add-member'));
     foreach ($hooks as $key => $hook) {
         $this->run_action('load-' . $hook, 'members_admin_page_process_' . $key);
         $this->run_action('admin_print_scripts-' . $hook, 'enqueue_scripts_' . $key);
         $this->run_action('admin_print_styles-' . $hook, 'enqueue_styles');
     }
 }
开发者ID:klgrimley,项目名称:mzf,代码行数:14,代码来源:class-ms-controller-member.php


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