login_site_html_link

过滤钩子
apply_filters( 'login_site_html_link', $html_link )
参数
  • (string) $link HTML link to the home URL of the current site.
    Required:
定义位置
相关勾子
lost_password_html_linkget_edit_term_linkedit_term_linkpost_type_linkget_edit_tag_link
相关方法
get_edit_term_linkis_site_adminget_self_linkget_term_linkpaginate_linksedit_term_link
引入
5.7.0
弃用
-

login_site_html_link: 这个过滤钩子用于过滤显示在登录页面上的登录链接的HTML代码。

过滤显示在登录页面页脚的”Go to site”链接。

echo apply_filters( 'login_site_html_link', $html_link );

常见问题

FAQs
查看更多 >