Changeset 12663 for trunk/src/bp-members/bp-members-functions.php
- Timestamp:
- 06/10/2020 02:09:59 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-functions.php
r12657 r12663 79 79 * 80 80 * @since 1.2.0 81 * @since 7.0.0 Added `xprofile_query` parameter. 81 82 * 82 83 * @param array|string $args { … … 97 98 * @type int $page Page of results. Default: 1. 98 99 * @type bool $populate_extras Fetch optional extras. Default: true. 100 * @type array $xprofile_query Filter results by xprofile data. Requires the xprofile 101 * component. See {@see BP_XProfile_Query} for details. 99 102 * @type string|bool $count_total How to do total user count. Default: 'count_query'. 100 103 * } … … 118 121 'page' => 1, // The page to return if limiting per page. 119 122 'populate_extras' => true, // Fetch the last active, where the user is a friend, total friend count, latest update. 123 'xprofile_query' => false, 120 124 'count_total' => 'count_query' // What kind of total user count to do, if any. 'count_query', 'sql_calc_found_rows', or false. 121 125 ), 'core_get_users' );
Note: See TracChangeset
for help on using the changeset viewer.