Last active
November 17, 2017 18:32
-
-
Save andrezrv/dff10bde2350759e55f9a4a40b1041e4 to your computer and use it in GitHub Desktop.
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 // Ignore this line. | |
add_action( 'save_post', 'nice_fix_yoast_seo_loading', -999 ); | |
add_action( 'delete_post', 'nice_fix_yoast_seo_loading', -999 ); | |
function nice_fix_yoast_seo_loading() { | |
if ( ! class_exists( 'WPSEO_Link_Watcher' ) ) { | |
return; | |
} | |
nice_loader( 'includes/public/theming/' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment