Admin pages don’t use the body_class
filter, use the admin_body_class
filter to add classes to admin body tag instead.
Note that $classes
in that case is a string, not an array.
Admin pages don’t use the body_class
filter, use the admin_body_class
filter to add classes to admin body tag instead.
Note that $classes
in that case is a string, not an array.