• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP WPCF7_TagGenerator类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中WPCF7_TagGenerator的典型用法代码示例。如果您正苦于以下问题:PHP WPCF7_TagGenerator类的具体用法?PHP WPCF7_TagGenerator怎么用?PHP WPCF7_TagGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了WPCF7_TagGenerator类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: wpcf7_editor_panel_form

function wpcf7_editor_panel_form($post)
{
    ?>
<h2><?php 
    echo esc_html(__('Form', 'contact-form-7'));
    ?>
</h2>

<?php 
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->print_buttons();
    ?>

<textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="24" class="large-text code"><?php 
    echo esc_textarea($post->prop('form'));
    ?>
</textarea>
<?php 
}
开发者ID:nullality,项目名称:FEWD-SEA-7,代码行数:19,代码来源:editor.php


示例2: wpcf7_add_tag_generator_text

function wpcf7_add_tag_generator_text()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('text', __('text', 'contact-form-7'), 'wpcf7_tag_generator_text');
    $tag_generator->add('email', __('email', 'contact-form-7'), 'wpcf7_tag_generator_text');
    $tag_generator->add('url', __('URL', 'contact-form-7'), 'wpcf7_tag_generator_text');
    $tag_generator->add('tel', __('tel', 'contact-form-7'), 'wpcf7_tag_generator_text');
}
开发者ID:flasomm,项目名称:Montkailash,代码行数:8,代码来源:text.php


示例3: tag_generator

 public static function tag_generator()
 {
     if (!class_exists('WPCF7_TagGenerator')) {
         return;
     }
     $tag_generator = WPCF7_TagGenerator::get_instance();
     $tag_generator->add('datetime', __('datetime', 'contact-form-7'), array(__CLASS__, 'tg_pane'));
 }
开发者ID:relu,项目名称:contact-form-7-datepicker,代码行数:8,代码来源:datetime.php


示例4: wpcf7_add_tag_generator

function wpcf7_add_tag_generator($name, $title, $elm_id, $callback, $options = array())
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    return $tag_generator->add($name, $title, $callback, $options);
}
开发者ID:abcode619,项目名称:wpstuff,代码行数:5,代码来源:admin-functions.php


示例5: wpcf7_add_tag_generator_number

function wpcf7_add_tag_generator_number()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('number', __('number', 'contact-form-7'), 'wpcf7_tag_generator_number');
}
开发者ID:idies,项目名称:escience-2016-wp,代码行数:5,代码来源:number.php


示例6: wpcf7_add_tag_generator_textarea

function wpcf7_add_tag_generator_textarea()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('textarea', __('text area', 'contact-form-7'), 'wpcf7_tag_generator_textarea');
}
开发者ID:Lumbe,项目名称:dev_servus,代码行数:5,代码来源:textarea.php


示例7: wpcf7dtx_add_tag_generator_dynamictext

function wpcf7dtx_add_tag_generator_dynamictext()
{
    if (!class_exists('WPCF7_TagGenerator')) {
        return;
    }
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('dynamictext', __('dynamic text', 'contact-form-7'), 'wpcf7dtx_tag_generator_dynamictext');
    $tag_generator->add('dynamichidden', __('dynamic hidden', 'contact-form-7'), 'wpcf7dtx_tag_generator_dynamictext');
}
开发者ID:rvelezc,项目名称:loggia.com.co,代码行数:9,代码来源:contact-form-7-dynamic-text-extension.php


示例8: wpcf7_admin_save_button

    ?>
</div><!-- #contact-form-editor -->

<?php 
    if (current_user_can('wpcf7_edit_contact_form', $post_id)) {
        ?>
<p class="submit"><?php 
        wpcf7_admin_save_button($post_id);
        ?>
</p>
<?php 
    }
    ?>

</div><!-- #postbox-container-2 -->

</div><!-- #post-body -->
<br class="clear" />
</div><!-- #poststuff -->
</form>

<?php 
}
?>

</div><!-- .wrap -->

<?php 
$tag_generator = WPCF7_TagGenerator::get_instance();
$tag_generator->print_panels($post);
do_action('wpcf7_admin_footer', $post);
开发者ID:aim-web-projects,项目名称:kobe-chuoh,代码行数:31,代码来源:edit-contact-form.php


示例9: wpcf7_add_tag_generator_mailpoetsignup

function wpcf7_add_tag_generator_mailpoetsignup()
{
    if (!class_exists('WPCF7_TagGenerator')) {
        return;
    }
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('mailpoetsignup', __('Mailpoet Signup', 'mpcf7'), 'wpcf7_tg_pane_mailpoetsignup');
}
开发者ID:NicoGill,项目名称:APF,代码行数:8,代码来源:mailpoet-signup.php


示例10: wpcf7_add_tag_generator_hidden

function wpcf7_add_tag_generator_hidden()
{
    if (class_exists('WPCF7_TagGenerator')) {
        $tag_generator = WPCF7_TagGenerator::get_instance();
        $tag_generator->add('hidden', __('hidden', 'cf7_modules'), 'wpcf7_tg_pane_hidden');
    }
}
开发者ID:jrald1291,项目名称:atu,代码行数:7,代码来源:hidden.php


示例11: wpcf7_add_tag_generator_menu

function wpcf7_add_tag_generator_menu()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('menu', __('drop-down menu', 'contact-form-7'), 'wpcf7_tag_generator_menu');
}
开发者ID:abcode619,项目名称:wpstuff,代码行数:5,代码来源:select.php


示例12: wpcf7_add_tag_generator_submit

function wpcf7_add_tag_generator_submit()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('submit', __('submit', 'contact-form-7'), 'wpcf7_tag_generator_submit', array('nameless' => 1));
}
开发者ID:flasomm,项目名称:Montkailash,代码行数:5,代码来源:submit.php


示例13: wpcf7_add_orders_tag_generator_menu

function wpcf7_add_orders_tag_generator_menu()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('orders', __('WooCommerce Orders drop-down menu', 'contact-form-7'), 'wpcf7_tag_orders_generator_menu');
}
开发者ID:alenb,项目名称:Contact-Form-7-WooCommerce,代码行数:5,代码来源:cf7-woocommerce-orders.php


示例14: wpcf7_add_tag_generator_captchanum

function wpcf7_add_tag_generator_captchanum()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('captchanum', __('numeric captcha', CUSTOM_PLUGIN_TEXT_DOMAIN), 'wpcf7_tag_generator_captchanum');
}
开发者ID:studio-montana,项目名称:custom,代码行数:5,代码来源:captchanum.php


示例15: wpcf7_add_tag_generator_honeypot

function wpcf7_add_tag_generator_honeypot()
{
    if (class_exists('WPCF7_TagGenerator')) {
        $tag_generator = WPCF7_TagGenerator::get_instance();
        $tag_generator->add('honeypot', __('Honeypot', 'contact-form-7-honeypot'), 'wpcf7_tg_pane_honeypot');
    } else {
        if (function_exists('wpcf7_add_tag_generator')) {
            wpcf7_add_tag_generator('honeypot', __('Honeypot', 'contact-form-7-honeypot'), 'wpcf7-tg-pane-honeypot', 'wpcf7_tg_pane_honeypot');
        }
    }
}
开发者ID:BennyHudson,项目名称:eaton,代码行数:11,代码来源:honeypot.php


示例16: wpcf7_add_tag_generator_confirm_email

function wpcf7_add_tag_generator_confirm_email()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('confirm_email', __('confirm_email', 'contact-form-7'), 'wpcf7_tag_generator_confirm_email');
}
开发者ID:jakerockland,项目名称:contact-form-7-confirm-email-feild,代码行数:5,代码来源:contact-form-7-confirm-email.php


示例17: wpcf7_add_tag_generator_checkbox_and_radio

function wpcf7_add_tag_generator_checkbox_and_radio()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('checkbox', __('checkboxes', 'contact-form-7'), 'wpcf7_tag_generator_checkbox');
    $tag_generator->add('radio', __('radio buttons', 'contact-form-7'), 'wpcf7_tag_generator_checkbox');
}
开发者ID:Lumbe,项目名称:dev_servus,代码行数:6,代码来源:checkbox.php


示例18: wpcf7dtx_add_tag_generator_dynamictext

function wpcf7dtx_add_tag_generator_dynamictext()
{
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('dynamictext', __('dynamic text', 'contact-form-7'), 'wpcf7dtx_tag_generator_dynamictext');
    $tag_generator->add('dynamichidden', __('dynamic hidden', 'contact-form-7'), 'wpcf7dtx_tag_generator_dynamictext');
}
开发者ID:Lumbe,项目名称:dev_servus,代码行数:6,代码来源:contact-form-7-dynamic-text-extension.php


示例19: wpcf7_add_tag_generator_captcha

function wpcf7_add_tag_generator_captcha()
{
    if (!wpcf7_use_really_simple_captcha()) {
        return;
    }
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add('captcha', __('CAPTCHA (Really Simple CAPTCHA)', 'contact-form-7'), 'wpcf7_tag_generator_captcha');
}
开发者ID:dracudakid,项目名称:WP_TrungTamTinHoc,代码行数:8,代码来源:really-simple-captcha.php


示例20: wpcf7c_add_tag_generator_back

 function wpcf7c_add_tag_generator_back()
 {
     $tag_generator = WPCF7_TagGenerator::get_instance();
     $tag_generator->add('back', __('Back button', 'contact-form-7-add-confirm'), 'wpcf7c_tg_pane_back', array('nameless' => 1));
 }
开发者ID:vanlong200880,项目名称:uni,代码行数:5,代码来源:back.php



注:本文中的WPCF7_TagGenerator类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP WPCF_Loader类代码示例发布时间:2022-05-23
下一篇:
PHP WPCF7_Submission类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap