body_class hook for admin pages

Posted by Prem Tiwari | Updated on

The callback function should return a valid value for the HTML class attribute, that is space separated class names, also, don’t forget to prepend (or append) any existing classes, you should understand by reading the code.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers