WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/21/2019 05:40:58 PM (2 months ago)
Author:
johnbillion
Message:

Docs: Docblock corrections and improvements, mostly related to various pre_* filters.

See #47110

File:
1 edited

Legend:

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

    r45932 r46232  
    306306     * Filters whether to call a shortcode callback.
    307307     *
    308      * Passing a truthy value to the filter will effectively short-circuit the
     308     * Returning a non-false value from filter will short-circuit the
    309309     * shortcode generation process, returning that value instead.
    310310     *
    311311     * @since 4.7.0
    312312     *
    313      * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
     313     * @param false|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
    314314     * @param string       $tag         Shortcode name.
    315315     * @param array|string $attr        Shortcode attributes array or empty string.
Note: See TracChangeset for help on using the changeset viewer.