Hi Team,
We solved the issue on our own, here’s is what we did:
public function filter_by_status( $query ) {
global $wpdb;
if ( !is_admin() ) {
return;
}
// bail early if not defined
if( !function_exists('get_current_screen') ) return;
$screen = get_current_screen();
// bail early if no screen
if( !$screen ) return;
if ( isset( $screen ) && 'users' != $screen->id ) {
return;
}
-
This reply was modified 4 years, 5 months ago by Nikhil.