if ( is_wp_error( $post_id ) ) {
            $success = false;
            $errors  = $post_id;
        } else {
            // If it's a custom record type, fix the methods.