此功能是recently added 到Change Password Protected Message.
以下内容摘自plugin author\'s support page:
如何更改;“密码保护”;WordPress上的消息允许您阻止访问任何帖子/页面,除非读者有密码。这方面的一个例子可能是允许访问某个班级的某些学生的学校,或者是向用户发布内容的作家。
可以使用“密码保护”为任何帖子/页面添加密码保护;“可见性”;编辑屏幕右侧的设置。只需选择;受密码保护的“;,然后输入人们可以用来访问它的密码。

当帖子/页面受密码保护时,它将显示如下消息:
"E;此内容受密码保护。请输入要查看的密码"E;

如何更改受密码保护的邮件
如果要更改文本,可以安装
Change Password Protected Message plugin. 这允许您更改所有受密码保护的帖子/页面的消息,或仅更改特定帖子/页面的消息。
进入设置;正在阅读页面

<现在,您可以通过以下选项设置消息:

更改特定帖子/页面的消息
要覆盖特定帖子/页面上显示的文本,我们可以使用自定义字段。按照以下步骤操作:
确保Change Password Protected Message plugin 已安装并激活。
进入编辑帖子/页面。
下一步将取决于您使用的是新的WordPress Block/Gutenberg编辑器还是Classic编辑器。选择以下选项:
接下来的步骤将取决于您是使用新的WordPress Block/Gutenberg编辑器还是Classic编辑器。选择以下选项:
WordPress 5+使用新编辑器,在编辑屏幕中单击屏幕右上角的3个点

<然后选择;“首选项”;底部的选项

<应显示一个面板。滚动到底部并启用;自定义字段

<单击按钮启用后,您应该会看到一个新的;自定义字段“;靠近页面底部的部分。现在,我们将添加一个名为“QUOTE”的新自定义字段;override\\u password\\u text“覆盖”;其中将包含自定义消息将名称设置为;覆盖\\u password\\u text;。然后将该值设置为要显示的任何文本/html。然后单击;添加自定义字段;按钮

将名称设置为";覆盖\\u password\\u text;。然后将该值设置为要显示的任何文本/html。然后单击;添加自定义字段;按钮

保存/发布页面后,文本现在将与自定义消息一起显示。
WordPress Classic Editor在编辑屏幕中,打开;屏幕选项“;屏幕右上角的选项卡:

<确保;自定义字段“;已启用:

<滚动至;自定义字段“;框,靠近页面底部。现在,我们将添加一个名为“QUOTE”的新自定义字段;override\\u password\\u text“覆盖”;其中将包含自定义消息将名称设置为;覆盖\\u password\\u text;。然后将该值设置为要显示的任何文本/html。然后单击;添加自定义字段;按钮

保存/发布页面后,文本现在将与自定义消息一起显示。