當前位置: 首頁>>代碼示例>>PHP>>正文


PHP spider_featured函數代碼示例

本文整理匯總了PHP中spider_featured函數的典型用法代碼示例。如果您正苦於以下問題:PHP spider_featured函數的具體用法?PHP spider_featured怎麽用?PHP spider_featured使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了spider_featured函數的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: fmc_featured

function fmc_featured()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_FMC_DIR . '/featured/featured.php';
    wp_register_style('fmc_featured', WD_FMC_URL . '/featured/style.css', array(), get_option("wd_form_maker_version"));
    wp_print_styles('fmc_featured');
    spider_featured('contact-form-maker');
}
開發者ID:JoelAlphonso,項目名稱:Portfolio,代碼行數:14,代碼來源:contact-form-maker.php

示例2: wds_featured

function wds_featured()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_S_DIR . '/featured/featured.php';
    wp_register_style('wds_featured', WD_S_URL . '/featured/style.css', array(), get_option("wds_version"));
    wp_print_styles('wds_featured');
    spider_featured('slider_wd');
}
開發者ID:uneedpro,項目名稱:ISWP,代碼行數:14,代碼來源:slider-wd.php

示例3: bwg_featured

function bwg_featured()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_BWG_DIR . '/featured/featured.php';
    wp_register_style('bwg_featured', WD_BWG_URL . '/featured/style.css', array(), wd_bwg_version());
    wp_print_styles('bwg_featured');
    spider_featured('photo-gallery');
}
開發者ID:nirav90,項目名稱:gharena,代碼行數:14,代碼來源:photo-gallery.php


注:本文中的spider_featured函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。