Make WordPress Core

Changeset 25423


Ignore:
Timestamp:
09/13/2013 09:01:20 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Inline documentation for hooks in wp-includes/shortcodes.php.

props natejacobs.
see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/shortcodes.php

    r24129 r25423  
    339339            $out[$name] = $default;
    340340    }
    341 
     341    /**
     342     * Filter a shortcode's default attributes.
     343     *
     344     * If the third parameter of the shortcode_atts() function is present then this filter is available.
     345     * The third parameter, $shortcode, is the name of the shortcode.
     346     *
     347     * @since 3.6.0
     348     *
     349     * @param array $out The output array of shortcode attributes.
     350     * @param array $pairs The supported attributes and their defaults.
     351     * @param array $atts The user defined shortcode attributes.
     352     */
    342353    if ( $shortcode )
    343354        $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts );
Note: See TracChangeset for help on using the changeset viewer.