How to disable the new WordPress block style CSS in 3 lines

If you don’t use the new WordPress blocks, you should avoid to load the block style CSS on your page to optimize the page load speed. Here the three lines you need:

Adding the action with priority 100, it Read more…

How to change the WordPress authentication cookie expiration in 3 lines

Never needed to change the standard (2 week) login cookie expiration time of WordPress? Here the 3 line of code you need.

You can add those line in the functions.php file of your theme. DAY_IN_SECONDS is a constant defined Read more…

How to change the WordPress mail sender in 3 lines

Shortly: I needed to change the “sender” of all emails from a blog so every delivery error would have been sent to a specific mailbox. Without installing plugins, the three lines of code needed are:

They can be added Read more…