su_enqueue_generator

The shortcodes-ultimate su enqueue generator function.

Published Date - February 15, 2021

Description

Helper function to force enqueuing of the shortcode generator assets and templates.

su_enqueue_generator();

Usage

The following example is for adding a hook callback.

if ( !function_exists( 'su_enqueue_generator' ) ) {
    require_once ABSPATH . PLUGINDIR . 'shortcodes-ultimateshortcodes-ultimate/includes/functions-helpers.php';
}



// NOTICE! Understand what this does before running.
$result = su_enqueue_generator();
            

Defined

The function is defined in the following location(s).

shortcodes-ultimate/includes/functions-helpers.php

function su_enqueue_generator() {
	Su_Generator::enqueue_generator();
}