WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2018 07:32:24 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

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

    r42746 r42876  
    404404         * @since 3.9.0
    405405         *
    406          * @param null|bool|object $network  Network value to return by path.
    407          * @param string           $domain   The requested domain.
    408          * @param string           $path     The requested path, in full.
    409          * @param int|null         $segments The suggested number of paths to consult.
    410          *                                   Default null, meaning the entire path was to be consulted.
    411          * @param array            $paths    The paths to search for, based on $path and $segments.
     406         * @param null|bool|WP_Network $network  Network value to return by path.
     407         * @param string               $domain   The requested domain.
     408         * @param string               $path     The requested path, in full.
     409         * @param int|null             $segments The suggested number of paths to consult.
     410         *                                       Default null, meaning the entire path was to be consulted.
     411         * @param string[]             $paths    Array of paths to search for, based on `$path` and `$segments`.
    412412         */
    413413        $pre = apply_filters( 'pre_get_network_by_path', null, $domain, $path, $segments, $paths );
Note: See TracChangeset for help on using the changeset viewer.