1. Home
  2. Wordpress
  3. Is admin
#wordpress#php#template

Check if an admin panel or a dashboard is opened.

if( is_admin() ){
    echo "Admin active";
}
copy
Full Wordpress cheatsheet
Sitemap Git repository