Hides the WordPress admin bar for all users who are not administrators. Useful when you have subscribers, contributors, or custom roles on your site and you want a clean front-end experience for them without the toolbar getting in the way.
Hides all WordPress update notifications (core, plugins, and themes) from the dashboard. Useful for client sites to keep the admin clean while updates are managed manually by the developer.
Hide the Attachment/Attachments pages on the frontend from all visitors.
Automatically redirect 404 pages to the homepage.
Remove link rel shortlink from your site head area.
Remove WordPress version.
Enable SVG file uploads in the WordPress media library, restricted to administrator users only. Adds both SVG and SVGZ mime types with a secondary check to ensure proper file validation. Add this code to your theme’s functions.php file or a site-specific plugin. SVG uploads will be enabled exclusively for users with the administrator role. To […]