lazyLoadHTML()

For <img> elements, you can use the lazy_img() function (or lazy_load()). For <iframe> elements, you can use the lazy_iframe() function (or lazy_load()). For all other HTML elements, use the lazy_load()….

$brain

…in JavaScript) “window”, “document”, “html”, “body” “session”: Session information of the user “id”, “flags” “user”: User information for future visits “cid” This is localized into the nebula object in JavaScript….

video_meta()

…have their own APIs for JavaScript integration. It is recommended to read through these as there are many intricate nuances in each. Youtube Iframe API Docs Vimeo Player API Docs…

loadJS()

Unlike jQuery getScript(), this function caches the JavaScript resource….

timer()

…logged-out users). Server Timing API Timings are sent via the server-timing HTTP header and can be viewed in Chrome DevTools under Network by clicking the page resource and choosing the

Facebook Customer Chat Plugin

…because they are stored in an HTML attribute and may cause it to close. Use Nebula’s data to your advantage! Customize the greeting to the user if you know their…

has()

…function can not detect if an object is defined, so that must be done prior or alongside this function. See above example. Deprecated notice: Use native JS Optional Chaining instead….

nebula_session_id()

…address or logged-in email domain) dev – Developer user (Matched by IP address or logged-in email domain) r – Logged-in WordPress user role uid – Logged-in WordPress user ID bot…

memoize()

The Nebula memoize function is treated similarly to the WordPress Transient API.

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!