Wordpress-注册打开/关闭时显示内容

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wordpress-注册打开/关闭时显示内容相关的知识,希望对你有一定的参考价值。

  1. if ( get_option('users_can_register') {
  2.  
  3. //show something here only if registration is open
  4.  
  5. }

以上是关于Wordpress-注册打开/关闭时显示内容的主要内容,如果未能解决你的问题,请参考以下文章

在Wordpress中打开父页/子页时显示子页

如何在按钮单击时显示/隐藏内容? [关闭]

关闭模式时显示不需要的内容

应用打开时显示本机推送通知?

尝试将 Wordpress 平台集成到另一个 Wordpress 平台时显示错误

在 reactjs 中悬停时显示组件 [关闭]