wordpress if admin

Solutions on MaxInterview for wordpress if admin by the best coders in the world

showing results for - "wordpress if admin"
Marco
12 Jan 2017
1<?php if(current_user_can('editor')) { ?> 
2    <!-- Stuff here for editors -->
3<?php } ?>
4
5<?php if(current_user_can('administrator')) { ?>
6    <!-- Stuff here for administrators -->
7<?php } ?>
8