Changeset 49927 for trunk/src/wp-includes/class-wp-network.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network.php
r47122 r49927 90 90 * 91 91 * @param int $network_id The ID of the network to retrieve. 92 * @return WP_Network| boolThe network's object if found. False if not.92 * @return WP_Network|false The network's object if found. False if not. 93 93 */ 94 94 public static function get_instance( $network_id ) { … … 327 327 * @param string $path Path to check. 328 328 * @param int|null $segments Path segments to use. Defaults to null, or the full path. 329 * @return WP_Network| boolNetwork object if successful. False when no network is found.329 * @return WP_Network|false Network object if successful. False when no network is found. 330 330 */ 331 331 public static function get_by_path( $domain = '', $path = '', $segments = null ) { … … 408 408 * @since 3.9.0 409 409 * 410 * @param null| bool|WP_Network $network Network value to return by path. Default null410 * @param null|false|WP_Network $network Network value to return by path. Default null 411 411 * to continue retrieving the network. 412 412 * @param string $domain The requested domain.
Note: See TracChangeset
for help on using the changeset viewer.