About

WPCode makes it easy and safe to add custom WordPress features through code snippets, 
so you can reduce the number of plugins on your site.

112 Snippets
2.0k Favourites
223k Downloads

Disable New User Notifications

Prevent the admin user from getting new user notification emails.

500+

Add default ALT to avatar/Gravatar Images

Add the user's name as a default alt tag to the Gravatar images loaded on...

500+

Limit the Number of Post Revisions

Reduce Database size by limiting post revisions to just 20 per post.

500+

Disable Lazy Load

Prevent WordPress from adding the lazy-load attribute to all images and iframes.

500+

Enable Shortcode Execution in WPCode HTML Snippets

Use this snippet to enable shortcode execution in WPCode HTML snippets.

500+

Disable Update Notice for Non-admin Users

Don't show WordPress version update notices to users that can't update the site.

500+

Disable Site Health

Completely hide the Site Health menu item and dashboard widget.

400+

Remove WP Block Library CSS

Stop WordPress from loading the block editor CSS - especially useful if you don't use Gutenberg.

400+

Disable the WordPress Shortlink

Remove link rel shortlink from your site head area.

400+

Empty Admin Dashboard

Disable all dashboard widgets in the admin and the welcome panel.

400+

Disable REST API Links

Remove all head links to the REST API endpoints from the page source.

400+

Set a Minimum Word Count for Posts

Force your authors to write posts that have a minimum length.

400+
1 3 4 5 6 7 10