/** * 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; }
/** * 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; }
/** * 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; } }
/** * 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; } }