示例#1
0
/**
 * Load P2P admin functionality.
 *
 * @since 1.3.4
 */
function _badgeos_p2p_load_admin()
{
    P2P_Autoload::register('P2P_', dirname(__FILE__) . '/p2p-admin');
    new P2P_Box_Factory();
    new P2P_Column_Factory();
    new P2P_Dropdown_Factory();
    new P2P_Tools_Page();
}
示例#2
0
function _p2p_load_admin()
{
    P2P_Autoload::register('P2P_', dirname(__FILE__) . '/admin');
    P2P_Mustache::init();
    new P2P_Box_Factory();
    new P2P_Column_Factory();
    new P2P_Dropdown_Factory();
    new P2P_Tools_Page();
}
示例#3
0
<?php

require_once dirname(__FILE__) . '/util.php';
require_once dirname(__FILE__) . '/api.php';
require_once dirname(__FILE__) . '/autoload.php';
P2P_Autoload::register('P2P_', dirname(__FILE__));
P2P_Storage::init();
P2P_Query_Post::init();
P2P_Query_User::init();
P2P_URL_Query::init();
P2P_Widget::init();
P2P_Shortcodes::init();