remote_get()
This is basically wp_remote_get() with a caching aspect. If a resource is unavailable, Nebula will not remotely request from that hostname for 10 minutes to maintain quick load times. Never…
This is basically wp_remote_get() with a caching aspect. If a resource is unavailable, Nebula will not remotely request from that hostname for 10 minutes to maintain quick load times. Never…
This function will add a body class of “offline” when the network is unavailable (and remove it when the network connection returns). It is also called automatically when the network…
This function looks for any iframe with a src that contains “vimeo”….
This function is called via the Google Youtube Iframe API when it is ready.
If a service worker is being used (and Cache API is available), the resource will be fetched and added to the cache. Otherwise, it will attempt to prefetch with a…
Here is where to add the class to the menu item. If this is not available, check the “Screen Options” dropdown at the very top of the screen to enable…