mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Docs: Use more specific types in parameter descriptions in place of mixed.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1164,9 +1164,11 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param mixed $type Optional. Array of extensions to return. Defaults to all files (null).
|
||||
* @param int $depth Optional. How deep to search for files. Defaults to a flat scan (0 depth). -1 depth is infinite.
|
||||
* @param bool $search_parent Optional. Whether to return parent files. Defaults to false.
|
||||
* @param string[]|string $type Optional. Array of extensions to find, string of a single extension,
|
||||
* or null for all extensions. Default null.
|
||||
* @param int $depth Optional. How deep to search for files. Defaults to a flat scan (0 depth).
|
||||
* -1 depth is infinite.
|
||||
* @param bool $search_parent Optional. Whether to return parent files. Default false.
|
||||
* @return string[] Array of files, keyed by the path to the file relative to the theme's directory, with the values
|
||||
* being absolute paths.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user