本文整理汇总了PHP中Tribe__Events__Main::tribeEventsMuDefaults方法的典型用法代码示例。如果您正苦于以下问题:PHP Tribe__Events__Main::tribeEventsMuDefaults方法的具体用法?PHP Tribe__Events__Main::tribeEventsMuDefaults怎么用?PHP Tribe__Events__Main::tribeEventsMuDefaults使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tribe__Events__Main
的用法示例。
在下文中一共展示了Tribe__Events__Main::tribeEventsMuDefaults方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadLibraries
/**
* Load all the required library files.
*/
protected function loadLibraries()
{
// Tribe common resources
require_once $this->pluginPath . 'vendor/tribe-common-libraries/tribe-common-libraries.class.php';
// Load CSV importer
require_once $this->pluginPath . 'src/io/csv/ecp-events-importer.php';
// Load Template Tags
require_once $this->pluginPath . 'src/functions/template-tags/query.php';
require_once $this->pluginPath . 'src/functions/template-tags/general.php';
require_once $this->pluginPath . 'src/functions/template-tags/month.php';
require_once $this->pluginPath . 'src/functions/template-tags/loop.php';
require_once $this->pluginPath . 'src/functions/template-tags/google-map.php';
require_once $this->pluginPath . 'src/functions/template-tags/organizer.php';
require_once $this->pluginPath . 'src/functions/template-tags/venue.php';
require_once $this->pluginPath . 'src/functions/template-tags/date.php';
require_once $this->pluginPath . 'src/functions/template-tags/link.php';
require_once $this->pluginPath . 'src/functions/template-tags/widgets.php';
require_once $this->pluginPath . 'src/functions/template-tags/meta.php';
require_once $this->pluginPath . 'src/functions/template-tags/tickets.php';
// Load Advanced Functions
require_once $this->pluginPath . 'src/functions/advanced-functions/event.php';
require_once $this->pluginPath . 'src/functions/advanced-functions/venue.php';
require_once $this->pluginPath . 'src/functions/advanced-functions/organizer.php';
// Load Deprecated Template Tags
if (!defined('TRIBE_DISABLE_DEPRECATED_TAGS')) {
require_once $this->pluginPath . 'src/functions/template-tags/deprecated.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);
}
}