This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Functions affecting admins and the admin dashboard. | |
*/ | |
/** | |
* Return array of fields found in the wp_users table. | |
* This function used in the others below to determine if a key entered in a search like "email:address@domain.com" | |
* is referencing the user_email column of the wp_users table or a unique meta key. | |
*/ | |
function my_pmpro_get_user_table_columns() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Excludes users from BuddyPress Members list. | |
* | |
* @param string $qs Query string. | |
* @param string $object object loop identikfier. | |
* | |
* @return string | |
*/ | |
function bpdev_exclude_users( $qs = false, $object = false ) { |