I’m trying to do something really fun, really clever, and if I get it to work, it will totally kick some serious butt…
But it all hinges on my shortcode function being able to get the name of the shortcode tag that was matched. I’ve looked at the documentation. It says the third parameter is the tag name. I’ve looked at the code. It really LOOKS like it should be passing back the shortcode as the third parameter.
But no matter how hard I try, I can not get the matched shortcode name. It’s not in $attr. It’s not in $content. It’s not in the third parameter.
Can anyone actually get the shortcode name in the third parameter in 3.2.1?
- The topic ‘Third parameter to shortcode callback is never populated’ is closed to new replies.