My WordPress ‘Cleanup’ Script

I include the following, or something similar, in most of my WordPress projects. It lightly standardises some awkward behaviours, removes some superfluous settings and capabilities which I rarely/never use, and enhances/improves some default functions and approaches.

Warning – do not simply copy and paste this into your theme/functions; it’ll need adapting to fit your use-case, and will likely cause as many problems as it solves if not tweaked and refined to fit your needs.

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of