feedback()

If using a CF7 form, be sure to place the feedback form inside of the post loop if you want to use the post-related special mail tags (such as )! Contact Form 7 Special Mail Tags » The email field should be optional! The purpose of this form is not lead generation, but improving user Read More »

transient()

This function is mostly for the convenient pattern of checking the transient and the object cache. If your usage of the transient storage is different than simply getting/setting data to a variable, you may need to write the transient/wp_cache directly. Note: Using the query parameter will clear/bypass the transient. Read More »

is_background_request()

This function is true if the current request is an AJAX, REST, CRON, XMLRPC, or WP installation. This is great for optimizing server-side functionality that is only meant to be run either during, or not during one of these "background" requests. Read More »

scripts_http2_server_push_header()

The Service Worker Nebula option must be enabled, and the service worker file must be in the proper location (default: root directory) for this function to send the HTTP2 Server Push headers. This function requests a server push of all enqueued local JS files. Read More »

deregister()

Common WordPress hooks for deregistering assets include , , and . Make sure your hook has a higher priority number so it runs after the original. This function both dequeues and deregisters the asset. Then it logs it in Nebula to appear in the WordPress admin bar  (under the Edit Post menu). Nebula will only Read More »

add_log()

This log option is disabled by default! It will not log anything when disabled, so retroactive logs are not possible. It is available in Nebula Options in the Administrative tab and logs themselves can be viewed in Nebula Options in the Diagnostics tab. Some examples of administrative events that are logged by Nebula itself: Nebula Read More »

debug_log()

The format of each line in the log is: [timestamp] message (on file) Example: [Saturday, April 19, 2020 - 10:51:51am] This is a test. (on https://nebula.gearside.com/documentation/) Read More »

google_review_url()

The Google Place ID can be entered in Nebula Options where this function will look if a specific Place ID is not included when this function is called. Note: This URL will appear in the Administrative metabox in the WordPress admin Dashboard where it can be easily copy and pasted by anyone. This link will Read More »