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

Be the First to Comment!

Notify of
avatar
wpDiscuz