A collection of useful functions and filters to help enforce best practice when working with Wordpress and common third party plugins.
- Remove generator metatag to avoid exposing Wordpress version
- Disable XML-RPC access
- Disable REST API access
- Block enumeration of users
- Safely enable support for SVGs in the media library
- Display previews for SVGs in the media library
- Save field group congfiguration under 'fields' folder in /wp-content. Allows field configuration to remain theme agnostic and version controlled
- Disable autocomplete on forms for enhanced end-user security
Designed to be used as a must use plugin, simply place wp-essentials.php and wp-essentials/ in your mu-plugins folder. This folder can be created uder /wp-content if it doesn't already exist.