pre_check() ) { return; } $this->inserted_id = wp_insert_post( $this->modifier->source_arr, true ); if ( ! is_wp_error( $this->inserted_id ) ) { return; } throw new Action_Exception( 'failed', esc_html( $this->inserted_id->get_error_message() ) ); } }