* * Republishes the original post with the passed post, when using the Classic Editor. * * Runs also in the Block Editor to save the custom meta data only when there * are custom meta boxes. * * @param int $post_id The copy's post ID. * @param WP_Post $post The copy's post object. * * @return void */ public function track_after_post_request( $post_id, $post ) { if ( $this->is_rest_request() ) { return; } $this->track_request( $post ); } }