[wp-hackers] Is there a way to get the callback function name out of a shortcode _programmatically_?

Ryan McCue lists at rotorised.com
Tue Nov 12 03:02:08 UTC 2013


J.D. Grimes wrote:
> Here is a function that does just that:

This seems like something we should bring in to core to avoid everyone
using `do_shortcode` and running the full regex parser every time.

I see you proposed http://core.trac.wordpress.org/ticket/25435 but it
got wontfix'd. Anyone else think we should reopen?

-- 
Ryan McCue
<http://ryanmccue.info/>


More information about the wp-hackers mailing list