Show Menu Shortcode third tag parameter?
-
Hi Bob,
Thanks for the plugin. It works well.
I’m wondering why you have a third parameter for your shorcode_show_menu() function?
function shortcode_show_menu( $atts, $content, $tag )
should probably be:
function shortcode_show_menu( $atts = array(), $content = null )
See the add_shortcode() documentation/function here: https://core.trac.www.ads-software.com/browser/trunk/wp-includes/shortcodes.php#L45
James
https://www.ads-software.com/extend/plugins/show-menu-shortcode/
- The topic ‘Show Menu Shortcode third tag parameter?’ is closed to new replies.