我正在使用CF7自定义接收插件,我需要更改它的一些文本。

在那个红方块里,我只想把"CF7自定义收件人“改为”输入邮件查询“之类的东西。
我该怎么做呢?
发布于 2019-05-03 05:25:52
您可以将下面的代码放入主题的functions.php文件并检查它。参见此屏幕截图
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' );https://wordpress.stackexchange.com/questions/336956
复制相似问题