I’m not sure if this will work on your end, but on our website the following action hooks were causing publishing posts to run very slow.
add_action( ‘publish_post’, ‘nstein_categories’ );
add_action( ‘publish_post’, ‘nstein_concepts’ );
add_action( ‘save_post’, ‘nstein_comparediv’ );
add_action( ‘publish_post’, ‘nstein_related’ );
After commenting them out in functions.php , the issues got fixed immediately.
I hope it helps someone.
-
This reply was modified 5 years ago by fgalizia.