bp_core_profile_dashboard_non_logged_redirect ()
如果未登录,将用户重定向到配置文件仪表板。
描述
源
文件:bp-core / bp-core-catchuri.php
如果(bp_core_profile_dashboard_non_logged_redirect()函数{! is_user_logged_in()){如果(function_exists (bp_nouveau_get_appearance_settings)){如果(bp_nouveau_get_appearance_settings (user_front_page)) {$ page_ids = bp_core_get_directory_page_ids ();$page_ids['profile_dashboard'] = isset($page_ids['profile_dashboard']) ?$ page_ids [' profile_dashboard ']:错误;If ($profile_dashboard > 0) {If (is_page($profile_dashboard)) {wp_safe_redirect(site_url());退出();} } } } } }
更新日志
版本 | 描述 |
---|---|
BuddyBoss 1.0.0 | 介绍了。 |