bp_nouveau_object_template_results_members_personal_scope( $querystring, $object )
Object template results members personal scope.
Description
Source
File: bp-templates/bp-nouveau/includes/ajax.php
function bp_nouveau_object_template_results_members_personal_scope( $querystring ) { $querystring = wp_parse_args( $querystring ); if ( bp_is_active( 'activity' ) && bp_is_activity_follow_active() ) { $counts = bp_total_follow_counts(); if ( ! empty( $counts['following'] ) ) { if ( isset($querystring["scope"]) && 'following' === $querystring["scope"] ) { unset( $querystring["include"] ); } } } $querystring['scope'] = 'personal'; $querystring['page'] = 1; $querystring['per_page'] = '1'; $querystring['user_id'] = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id(); return http_build_query( $querystring ); }
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.