[wp-trac] [WordPress Trac] #37222: Add better add_shortcode documentation
WordPress Trac
noreply at wordpress.org
Wed Jun 29 09:26:43 UTC 2016
#37222: Add better add_shortcode documentation
----------------------------+-----------------------------
Reporter: grapplerulrich | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: trunk
Severity: normal | Keywords:
Focuses: docs |
----------------------------+-----------------------------
When looking at the
[https://developer.wordpress.org/reference/functions/add_shortcode/
add_shortcode()] documentation is it is not clear what `$parameters` the
the function `$func` has.
Only by looking at
[https://developer.wordpress.org/reference/functions/do_shortcode_tag/
do_shortcode_tag()] can you see that there are three parameters `$args`,
`$inline_content` and `$shortcode_tag`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37222>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list