bp_is_user_front()

Is the current page a user custom front page?


Description Description

Will return true anytime there is a custom front page for the displayed user.


Top ↑

Return Return

(bool) True if the current page is a user custom front page.


Source Source

File: bp-core/bp-core-template.php

function bp_is_user_front() {
	return (bool) ( bp_is_user() && bp_is_current_component( 'front' ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.