bp_profile_search_screen()

Check if we are on the BuddyBoss Profile Search screen.

Description

Source

File: bp-core/profile-search/bps-start.php

function bp_profile_search_screen () {
	global $current_screen;
	return isset ( $current_screen->post_type ) && $current_screen->post_type == 'bp_ps_form';
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.