Changeset 41283
- Timestamp:
- 08/20/2017 07:55:24 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r41282 r41283 57 57 * @param callable $callback The callback function to run when the shortcode is found. 58 58 * Every shortcode callback is passed three parameters by default, 59 * including an array of attributes (`$atts`), the content60 * the shortcode was found in (`$content`), and finally61 * the shortcode tagitself (`$shortcode_tag`), in that order.59 * including an array of attributes (`$atts`), the shortcode content 60 * or null if not set (`$content`), and finally the shortcode tag 61 * itself (`$shortcode_tag`), in that order. 62 62 */ 63 63 function add_shortcode( $tag, $callback ) {
Note: See TracChangeset
for help on using the changeset viewer.