su_get_plugin_url

The shortcodes-ultimate su get plugin url function.

Published Date - February 15, 2021

Description

Retrieve the URL of the plugin directory (with trailing slash).

su_get_plugin_url();

Usage

The following example is for adding a hook callback.

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



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

Defined

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

shortcodes-ultimate/includes/functions-helpers.php

function su_get_plugin_url() {
	return plugin_dir_url( dirname( __FILE__ ) );
}