Finding an Deregistering Assets Manually

…time will be faster. Deregistering styles and scripts via Nebula Options Nebula provides an advanced feature that scans the front-end for registered styles and scripts, and allows administrators to easily…

nebula_sw_message

…service worker, use navigator.serviceWorker.controller.postMessage(data), or the more convenient Nebula alias: nebulaPostMessage Deprecated in favor of Workbox Window. Use workbox.messageSW()[code] after it has been activated (Listen for [code]nebula_workbox_active on the document)....

nebula_session_id()

…with !) cid – Google Analytics CID This is parsed from the Google Analytics cookie (two numbers separated by .) or generated by Nebula (four groups of numbers separated by…

How to use the JavaScript WordPress Hooks API (Without Any Extra Libraries)

…call wp.hooks. Like this: register_script(‘nebula-whatever’, get_template_directory_uri() . ‘/assets/js/nebula.js’, array(‘jquery-core’, ‘wp-hooks’), ‘1.2.3’, true); Or with Nebula (to add defer and module types to the script): nebula()->register_script(‘nebula-main’, get_stylesheet_directory_uri() . ‘/assets/js/main.js’, array(‘defer’, ‘module’),…

feedback()

…choose not to have this send emails, but instead log them to the database using any CF7 database plugin (one is bundled with Nebula, but you must activate it yourself)….

Recommendations

Services The following services have features bundled with Nebula. It is recommended to sign up with these to take full advantage of Nebula’s core features. Google Business Google Search Console…

Google Analytics Custom Definitions

Nebula bundles lots of optional Custom Dimensions and Custom Metrics for Google Analytics. Use as many or as few as needed. Use the Nebula Options page to enable them. While…

has()

Returns boolean. Works well with nested objects- this helps prevent long conditionals like if ( nebula && nebula.client && nebula.client.remote_addr ){…} Note: This function can not detect if an object…

timer()

Timings are stored in nebula()->server_timings and categories are separated into a nebula()->server_timings[‘categories’] array. Timings will automatically appear for developers, but the query string ?timings must be used for non-developers (or…

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!