deregister()

Common WordPress hooks for deregistering assets include wp_enqueue_scripts, wp_print_styles, and wp_print_scripts. Make sure your hook has a higher priority number so it runs after the original. This function both dequeues…

hubspot()

This function requires the Hubspot API to be added in Nebula Options. It is currently not used for sending Hubspot data as the data is currently sent through the nv()…

Get Started

…in the update notification for quick access. Help/FAQ General Questions Where are JavaScript and stylesheet files added? JavaScript files should be registered and enqueued in the functions.php file. This ensures that they…

Animations

…in classes that listen for some events so that JavaScript does not need to be written to use them. They include: ready (DOM ready) load (window load) click (element click)…

logo()

This function prioritizes in the following order: A custom function that hooks into `nebula_logo` (an image file URL is the expected return) Customizer on sub-page when that one-color logo checkbox…

Manifesto

…a few principles… Nebula is autonomous. The reason WordPress has proliferated is in part due to it not needing extra software. Nebula follows this mentality in that it should not…

trimAll()

Remember that this is a method and not a function– see the example for how to use it.

fetch()

For more complicated patterns, you may want to use the Fetch API directly, but this Nebula function simplifies the traditional fetch() pattern significantly for simple tasks.

addToCache()

This is a convenient way to use the Cache API because it checks for invalid URLs to prevent them from attempting to be added to the cache. It also manages…

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!