Skip to content

Instantly share code, notes, and snippets.

@hostz-frank
Created January 12, 2016 09:23
Show Gist options
  • Save hostz-frank/aefb8294167ce5d94dc0 to your computer and use it in GitHub Desktop.
Save hostz-frank/aefb8294167ce5d94dc0 to your computer and use it in GitHub Desktop.
Make the Fusion builder work with large amounts of shortcode data, while editing a post or page.
<?php
/**
* Copy into functions.php of your Avada child theme!
*/
add_action( 'wp_ajax_fusion_content_to_elements', function(){
@ini_set('memory_limit', '256M');
}, 5 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment