check if user is admin
-
Hey there, I was thinking, you probly need to check if the user is an admin, so that the margin doesnt get created on the left.
function vab_stylesheet(){
if(!current_user_can( ‘manage_options’))return;is all I did to fix that.
The topic ‘check if user is admin’ is closed to new replies.