Handy Code Snippets for WordPress 5.5

Handy Code Snippets for WordPress 5.5

Author: MainWP

Date: July 30, 2020 

Category: Maintenance, Plugin development

WordPress 5.5 release is on track to be released on the 11th of August. The upcoming release of WordPress includes a number of new features.

MainWP has a very solid extension to be able to save and activate code snippets on all connected sites.

All of the new features in WordPress 5.5 have filters that can be used to disable those features if they are not needed.

WordPress core now supports native lazy loading since most browsers now support native lazy loading.

To be able to disable the lazy-load feature in WordPress you can use this code snippet;

add_filter(