Custom posttype content metabox
I think you may be in a recursive loop. if you hooked into save_post that will be triggered again when you call wp_update_post. you can temporarily remove the hook. Not knowing exactly how you have written the hook the below code is a guess. remove_action( ‘save_post’, [ $this, ‘saveModel’] ); wp_update_post([ ‘ID’ => $postId, ‘post_content’ … Read more