最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - CF7 Custom Recipient - Changing the text

programmeradmin1浏览0评论

I'm using the CF7 Custom Recipient plugin and i need to change some text on it.

In that red square i just want to change "CF7 Custom Recipient" to "Enter mail for inquiries" or something like that.

How can i do it?

I'm using the CF7 Custom Recipient plugin and i need to change some text on it.

In that red square i just want to change "CF7 Custom Recipient" to "Enter mail for inquiries" or something like that.

How can i do it?

Share Improve this question asked May 3, 2019 at 4:42 Draws Ren GundamDraws Ren Gundam 251 gold badge2 silver badges6 bronze badges 1
  • To change this, I think you've to change plugin files – Vishwa Commented May 3, 2019 at 5:20
Add a comment  | 

1 Answer 1

Reset to default 0

You can put this below code into theme's functions.php file and check it. see this screenshot

function add_wpcf7_custom_recipient_meta_box_changed() {
    add_meta_box(
        'wpcf7_custom_recipient_meta_box',
        'Enter mail for inquiries', //just here to change text you want
        'show_wpcf7_custom_recipient_meta_box',
        get_post_types(array('public' => true), 'names'),
        'side',
        'high'
    );
}
add_action( 'add_meta_boxes', 'add_wpcf7_custom_recipient_meta_box_changed' );
发布评论

评论列表(0)

  1. 暂无评论