Changeset 10774 for trunk/src/bp-core/bp-core-template.php
- Timestamp:
- 05/17/2016 03:30:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r10745 r10774 2269 2269 function bp_is_user() { 2270 2270 return (bool) bp_displayed_user_id(); 2271 } 2272 2273 /** 2274 * Is the current page a user custom front page? 2275 * 2276 * Will return true anytime there is a custom front page for the displayed user. 2277 * 2278 * @since 2.6.0 2279 * 2280 * @return bool True if the current page is a user custom front page. 2281 */ 2282 function bp_is_user_front() { 2283 return (bool) ( bp_is_user() && bp_is_current_component( 'front' ) ); 2271 2284 } 2272 2285
Note: See TracChangeset
for help on using the changeset viewer.