本文整理汇总了PHP中wpcf7_add_tag_generator函数的典型用法代码示例。如果您正苦于以下问题:PHP wpcf7_add_tag_generator函数的具体用法?PHP wpcf7_add_tag_generator怎么用?PHP wpcf7_add_tag_generator使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了wpcf7_add_tag_generator函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tb_add_tag_generator
public function tb_add_tag_generator()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('autocomplete', __('Autocomplete', 'contact-form-7'), 'tb-tg-pane-autocomplete', array($this, 'tg_pane'));
}
示例2: add_tag_generator_recaptcha
function add_tag_generator_recaptcha()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('recaptcha', __('reCAPTCHA', 'wp-recaptcha-integration'), 'wpcf7-tg-pane-recaptcha', array(&$this, 'recaptcha_settings_callback'));
}
示例3: wpcf7_add_tag_generator_icon_btn
function wpcf7_add_tag_generator_icon_btn()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('icon_btn', 'Submit Button with Icon', 'wpcf7-tg-pane-icon_btn', 'wpcf7_tg_pane_icon_btn', array('nameless' => 1));
}
示例4: wpcf7_add_tag_generator_submit
function wpcf7_add_tag_generator_submit()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('submit', __('Submit button', 'contact-form-7'), 'wpcf7-tg-pane-submit', 'wpcf7_tg_pane_submit', array('nameless' => 1));
}
示例5: wpcf7_add_tag_generator_hashcash
function wpcf7_add_tag_generator_hashcash()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('hashcash', __('Hashcash.IO', 'contact-form-7'), 'wpcf7-tg-pane-hashcash', 'wpcf7_tg_pane_hashcash');
}
示例6: wpcf7_add_tag_generator_textarea
function wpcf7_add_tag_generator_textarea()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('textarea', __('Text area', 'contact-form-7'), 'wpcf7-tg-pane-textarea', 'wpcf7_tg_pane_textarea');
}
示例7: cf7_nocaptcha_tag_generator
public function cf7_nocaptcha_tag_generator()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('recaptcha', __('No CAPTCHA reCAPTCHA', 'contact-form-7'), 'cf7_nocaptcha_pane', array($this, 'cf7_nocaptcha_pane'));
}
示例8: wpcf7_add_tag_generator_file
function wpcf7_add_tag_generator_file()
{
wpcf7_add_tag_generator('file', __('File upload', 'wpcf7'), 'wpcf7-tg-pane-file', 'wpcf7_tg_pane_file');
}
示例9: tag_generator
/**
* tag_generator()
*
* Registers the tag generator for CF7
*/
public static function tag_generator()
{
if (function_exists('wpcf7_add_tag_generator')) {
wpcf7_add_tag_generator('date', __('Date field', 'contact-form-7-datepicker'), 'wpcf7-tg-pane-date', array(__CLASS__, 'wpcf7_tg_pane_datepicker_'));
}
}
示例10: wpcf7_add_tag_generator_number
function wpcf7_add_tag_generator_number()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('number', __('Number (spinbox)', 'contact-form-7'), 'wpcf7-tg-pane-number', 'wpcf7_tg_pane_number');
wpcf7_add_tag_generator('range', __('Number (slider)', 'contact-form-7'), 'wpcf7-tg-pane-range', 'wpcf7_tg_pane_range');
}
示例11: wpcf7_add_tag_generator_acceptance
function wpcf7_add_tag_generator_acceptance()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('acceptance', __('Acceptance', 'contact-form-7'), 'wpcf7-tg-pane-acceptance', 'wpcf7_tg_pane_acceptance');
}
示例12: wpcf7_add_tag_generator_quiz
function wpcf7_add_tag_generator_quiz()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('quiz', __('Quiz', 'contact-form-7'), 'wpcf7-tg-pane-quiz', 'wpcf7_tg_pane_quiz');
}
示例13: wpcf7_add_tag_generator_menu
function wpcf7_add_tag_generator_menu()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('menu', __('Drop-down menu', 'contact-form-7'), 'wpcf7-tg-pane-menu', 'wpcf7_tg_pane_menu');
}
示例14: wpcf7_add_tag_generator_captcha
function wpcf7_add_tag_generator_captcha()
{
if (!function_exists('wpcf7_add_tag_generator')) {
return;
}
wpcf7_add_tag_generator('captcha', __('CAPTCHA', 'wpcf7'), 'wpcf7-tg-pane-captcha', 'wpcf7_tg_pane_captcha');
}
示例15: wpcf7_add_tag_generator_dynamichidden
function wpcf7_add_tag_generator_dynamichidden()
{
if (function_exists('wpcf7_add_tag_generator')) {
wpcf7_add_tag_generator('dynamichidden', __('Dynamic Hidden field', 'wpcf7'), 'wpcf7-tg-pane-dynamichidden', 'wpcf7_tg_pane_dynamichidden_');
}
}