bp_displayed_user_has_front_template()
Check if the displayed user has a custom front template.
Description
Source
File: bp-members/bp-members-template.php
function bp_displayed_user_has_front_template() { $displayed_user = bp_get_displayed_user(); return ! empty( $displayed_user->front_template ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.