wordpress remove rel api.w.org wp-json

remove_action( ‘wp_head’, ‘rest_output_link_wp_head’ );

Вставляем в functions.php