本文整理汇总了PHP中Redux_Tracking类的典型用法代码示例。如果您正苦于以下问题:PHP Redux_Tracking类的具体用法?PHP Redux_Tracking怎么用?PHP Redux_Tracking使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Redux_Tracking类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _tracking
public function _tracking()
{
include_once dirname(__FILE__) . '/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
示例2: _tracking
private function _tracking()
{
require_once dirname(__FILE__) . '/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
示例3: _tracking
private function _tracking()
{
if (file_exists(get_template_directory() . '/framework/theme-panel/ReduxCore/inc/tracking.php')) {
require_once get_template_directory() . '/framework/theme-panel/ReduxCore/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
}
示例4: get_instance
/**
* Creates or returns an instance of this class.
*
* @return Foo A single instance of this class.
*/
public static function get_instance()
{
if (null == self::$instance) {
self::$instance = new self();
}
return self::$instance;
}