[wp-trac] [WordPress Trac] #47616: Enhancement: doing_shortcode() function similar to doing_filter()
WordPress Trac
noreply at wordpress.org
Wed May 26 09:04:36 UTC 2021
#47616: Enhancement: doing_shortcode() function similar to doing_filter()
-------------------------------------------------+-------------------------
Reporter: keraweb | Owner: audrasjb
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.9
Component: Shortcodes | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-docs needs-dev-note | Focuses:
2nd-opinion needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by keraweb):
If this is preferable I can make a class for this. But in that case I
would like to include actions etc. as well (in separate classes, extending
the same base). We already have WP_Hook where we can store the current
action etc. but for shortcodes there isn't anything OOP we can use at the
moment so this will need to be created.
I'd like to have some more feedback on this before I continue!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47616#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list