su_shortcode_menu_fallback

The shortcodes-ultimate su shortcode menu fallback function.

Published Date - February 15, 2021

Description

su_shortcode_menu_fallback();

Usage

The following example is for adding a hook callback.

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



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

Defined

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

shortcodes-ultimate/includes/shortcodes/menu.php

function su_shortcode_menu_fallback() {
	return __( 'This menu doesn\'t exists, or has no elements', 'shortcodes-ultimate' );
}