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


PHP TribeEvents::tribeEventsMuDefaults方法代码示例

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


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

示例1: loadLibraries

 /**
  * Load all the required library files.
  */
 protected function loadLibraries()
 {
     // Exceptions Helper
     require_once 'tribe-event-exception.class.php';
     // Load Template Tags
     require_once $this->pluginPath . 'public/template-tags/query.php';
     require_once $this->pluginPath . 'public/template-tags/general.php';
     require_once $this->pluginPath . 'public/template-tags/month.php';
     require_once $this->pluginPath . 'public/template-tags/loop.php';
     require_once $this->pluginPath . 'public/template-tags/google-map.php';
     require_once $this->pluginPath . 'public/template-tags/organizer.php';
     require_once $this->pluginPath . 'public/template-tags/venue.php';
     require_once $this->pluginPath . 'public/template-tags/date.php';
     require_once $this->pluginPath . 'public/template-tags/link.php';
     require_once $this->pluginPath . 'public/template-tags/widgets.php';
     require_once $this->pluginPath . 'public/template-tags/meta.php';
     // Load Advanced Functions
     require_once $this->pluginPath . 'public/advanced-functions/event.php';
     require_once $this->pluginPath . 'public/advanced-functions/venue.php';
     require_once $this->pluginPath . 'public/advanced-functions/organizer.php';
     // Load Deprecated Template Tags
     if (!defined('TRIBE_DISABLE_DEPRECATED_TAGS')) {
         require_once $this->pluginPath . 'public/template-tags/deprecated.php';
     }
     // Load Classes
     require_once 'tribe-meta-factory.class.php';
     require_once 'widget-list.class.php';
     require_once 'tribe-admin-events-list.class.php';
     require_once 'tribe-date-utils.class.php';
     require_once 'tribe-template-factory.class.php';
     require_once 'tribe-templates.class.php';
     require_once 'tribe-event-api.class.php';
     require_once 'tribe-event-query.class.php';
     require_once 'tribe-view-helpers.class.php';
     require_once 'tribe-events-bar.class.php';
     require_once 'tribe-the-events-calendar-import.class.php';
     require_once 'tribe-support.class.php';
     //require_once( 'tribe-debug-bar.class.php' );
     require_once 'tribe-amalgamator.php';
     require_once 'tribe-events-update.class.php';
     // Load Template Classes
     require_once 'template-classes/month.php';
     require_once 'template-classes/list.php';
     require_once 'template-classes/single-event.php';
     // caching
     require_once 'tribe-events-cache.class.php';
     // App Shop
     if (!defined("TRIBE_HIDE_UPSELL") || TRIBE_HIDE_UPSELL !== true) {
         require_once 'tribe-app-shop.class.php';
     }
     // Tickets
     require_once 'tickets/tribe-tickets-pro.php';
     require_once 'tickets/tribe-ticket-object.php';
     require_once 'tickets/tribe-tickets.php';
     require_once 'tickets/tribe-tickets-metabox.php';
     // CSV Importer
     require_once 'io/csv/ecp-events-importer.php';
     // PUE
     require_once 'pue/pue-client.php';
     // Load multisite defaults
     if (is_multisite()) {
         $tribe_events_mu_defaults = array();
         if (file_exists(WP_CONTENT_DIR . '/tribe-events-mu-defaults.php')) {
             require_once WP_CONTENT_DIR . '/tribe-events-mu-defaults.php';
         }
         self::$tribeEventsMuDefaults = apply_filters('tribe_events_mu_defaults', $tribe_events_mu_defaults);
     }
 }
开发者ID:donwea,项目名称:nhap.org,代码行数:71,代码来源:the-events-calendar.class.php


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