Hook inside a hook
OK, so the new_to_publish hook is probably not the right hook to use here. The status_to_status hooks run during a posts transition from the first status to the second. By this stage, the editor is no longer in play. If my understanding of the_editor_content is correct, this filters the default content displayed in the editor … Read more