mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Docblock corrections and improvements, mostly related to various pre_* filters.
See #47110 git-svn-id: https://develop.svn.wordpress.org/trunk@46232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,12 +203,12 @@ function get_site_by_path( $domain, $path, $segments = null ) {
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @param null|bool|WP_Site $site Site 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|false|WP_Site $site Site 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.
|
||||
*/
|
||||
$pre = apply_filters( 'pre_get_site_by_path', null, $domain, $path, $segments, $paths );
|
||||
if ( null !== $pre ) {
|
||||
|
||||
Reference in New Issue
Block a user