The API creates esp_netif object with default WiFi station config, attaches the netif to wifi and registers wifi handlers to the default event loop. (Note that the default event loop needs to be created prior to calling this API)
Examples
esp_netif_create_default_wifi_nan() is referenced by 3 libraries and example projects: