Created
January 27, 2014 17:03
-
-
Save wturnerharris/8652648 to your computer and use it in GitHub Desktop.
Override/Remove call to dynamic css in LaunchEffect: add to end of functions.php in main theme. In order to retain the css options for both premium and lite versions of LaunchEffect, you should first save the output from the dynamic css to the server and add as a link href in the Additional Scripts option of Launch Effect. <link rel="stylesheet"…
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 | |
function return_void(){ | |
exit; | |
} | |
add_action('wp_ajax_dynamic_css', 'return_void', 5); | |
add_action('wp_ajax_nopriv_dynamic_css', 'return_void', 5); | |
add_action('wp_ajax_dynamic_css_premium', 'return_void', 5); | |
add_action('wp_ajax_nopriv_dynamic_css_premium', 'return_void', 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment