mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Docs: Document more parameters and properties using typed array notation.
See #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@42876 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -403,12 +403,12 @@ class WP_Network {
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @param null|bool|object $network Network value to return by path.
|
||||
* @param string $domain The requested domain.
|
||||
* @param string $path The requested path, in full.
|
||||
* @param int|null $segments The suggested number of paths to consult.
|
||||
* Default null, meaning the entire path was to be consulted.
|
||||
* @param array $paths The paths to search for, based on $path and $segments.
|
||||
* @param null|bool|WP_Network $network Network value to return by path.
|
||||
* @param string $domain The requested domain.
|
||||
* @param string $path The requested path, in full.
|
||||
* @param int|null $segments The suggested number of paths to consult.
|
||||
* Default null, meaning the entire path was to be consulted.
|
||||
* @param string[] $paths Array of paths to search for, based on `$path` and `$segments`.
|
||||
*/
|
||||
$pre = apply_filters( 'pre_get_network_by_path', null, $domain, $path, $segments, $paths );
|
||||
if ( null !== $pre ) {
|
||||
|
||||
Reference in New Issue
Block a user