Created
December 6, 2021 20:03
-
-
Save sc0ttkclark/6a96d609ac75a3e918ccacc51c750ccb to your computer and use it in GitHub Desktop.
Avoid preloading blocks in the block editor -- this prevents page timeouts with large sets of blocks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Avoid preloading blocks in the block editor -- this prevents page timeouts with large sets of blocks. | |
add_filter( 'pods_blocks_types_preload_block', '__return_false' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment