bp_ps_sort_fields( $a,  $b )

Sort BuddyBoss profile search fields.

Description

Source

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

385
386
387
388
function bp_ps_sort_fields ($a, $b)
{
    return ($a->order <= $b->order)? -1: 1;
}

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.