If anyone’s interested, the following code removed the “Suggestion: Add tags” prompt. Thanks, Clause AI!
// Method 1: Filter REST API response to hide tags (Recommended) function remove_tags_from_rest_response($response, $taxonomy, $request) { // Only target the post_tag taxonomy if ($taxonomy->name === 'post_tag') { // Check if this is an admin request (Gutenberg editor) if (is_admin() || (defined('REST_REQUEST') && REST_REQUEST)) { // Return empty array to make Gutenberg think no tags exist return new WP_REST_Response(array(), 200); } } return $response; } add_filter('rest_prepare_taxonomy', 'remove_tags_from_rest_response', 10, 3);