Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:25:53 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Further improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

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

    r46287 r46661  
    176176     * @since 2.8.0 Added the `$group` parameter.
    177177     *
    178      * @param mixed $handles Optional. Scripts to be printed. (void) prints queue, (string) prints
    179      *                       that script, (array of strings) prints those scripts. Default false.
    180      * @param int  $group   Optional. If scripts were queued in groups prints this group number.
    181      *                       Default false.
    182      * @return array Scripts that have been printed.
     178     * @param mixed     $handles Optional. Scripts to be printed. (void) prints queue, (string) prints
     179     *                           that script, (array of strings) prints those scripts. Default false.
     180     * @param int|false $group   Optional. If scripts were queued in groups prints this group number.
     181     *                           Default false.
     182     * @return string[] Handles of scripts that have been printed.
    183183     */
    184184    public function print_scripts( $handles = false, $group = false ) {
     
    628628     * @see WP_Dependencies::do_items()
    629629     *
    630      * @return array Handles of items that have been processed.
     630     * @return string[] Handles of items that have been processed.
    631631     */
    632632    public function do_head_items() {
     
    642642     * @see WP_Dependencies::do_items()
    643643     *
    644      * @return array Handles of items that have been processed.
     644     * @return string[] Handles of items that have been processed.
    645645     */
    646646    public function do_footer_items() {
Note: See TracChangeset for help on using the changeset viewer.