Back to all posts

How Execute PHP code in Generative Blocks Elements


If you want add PHP code in Elements add following code in wp-config.php

define( 'DISALLOW_FILE_MODS', true ); // This will allow us to add php code in Element (Generative Blocks)