예제 #1
0
/**
 * Creates the captcha tab
 *
 * @since 2.8
 *
 * @param string $tab
 * @return
 */
function wpmem_a_captcha_tab($tab)
{
    include_once 'tab-captcha.php';
    return $tab == 'captcha' ? wpmem_a_build_captcha_options() : false;
}
예제 #2
0
/**
 * Creates the captcha tab.
 *
 * @since 2.8
 *
 * @param string $tab
 * @return
 */
function wpmem_a_captcha_tab($tab)
{
    include_once WPMEM_PATH . 'admin/tab-captcha.php';
    return $tab == 'captcha' ? wpmem_a_build_captcha_options() : false;
}
예제 #3
0
/**
 * Creates the captcha tab.
 *
 * @since 2.8.0
 *
 * @param  string      $tab The admin tab being displayed.
 * @return string|bool      The captcha options tab, otherwise false.
 */
function wpmem_a_captcha_tab($tab)
{
    if ($tab == 'captcha') {
        /**
         * Load the captcha tab functions.
         */
        include_once WPMEM_PATH . 'admin/tab-captcha.php';
        // Render the captcha tab.
        return wpmem_a_build_captcha_options();
    } else {
        return false;
    }
}
예제 #4
0
파일: admin.php 프로젝트: pab44/pab44
/**
 * Creates the captcha tab.
 *
 * @since 2.8.0
 *
 * @param  string      $tab The admin tab being displayed.
 * @return string|bool      The captcha options tab, otherwise false.
 */
function wpmem_a_captcha_tab($tab)
{
    if ($tab == 'captcha') {
        return wpmem_a_build_captcha_options();
    } else {
        return false;
    }
}