コード例 #1
0
ファイル: shortcodes.php プロジェクト: hikaram/wee
 public static function get_instance()
 {
     // create an object
     NULL === self::$instance and self::$instance = new self();
     return self::$instance;
     // return the object
 }
コード例 #2
0
ファイル: search.php プロジェクト: booklein/wpbookle
function ajaxsearchpro_preview()
{
    require_once ASP_PATH . "/includes/shortcodes.php";
    $o = aspShortcodeContainer::get_instance();
    $out = $o->wpdreams_asp_shortcode(array("id" => $_POST['asid']));
    print $out;
    die;
}