Tibetan | Software Engineer | Application Dev
Css on the backend of wordpress dashboard
Css on the backend of wordpress dashboard

Css on the backend of wordpress dashboard

add_action( ‘admin_head’, function () {

$user = wp_get_current_user();

if( is_user_logged_in() ) {
$user = wp_get_current_user();
$roles = ( array ) $user->roles;

if($roles[0] == “shop_manager”){
echo “

“;
}} } );

Leave a Reply

Your email address will not be published. Required fields are marked *

0
    0
    Your Cart
    Your cart is emptyReturn to Shop
      Calculate Shipping
      Apply Coupon