mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
@@ -246,9 +246,9 @@ final class WP_Taxonomy {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param array $args Array of arguments for registering a taxonomy.
|
||||
* @param string $taxonomy Taxonomy key.
|
||||
* @param array $object_type Array of names of object types for the taxonomy.
|
||||
* @param array $args Array of arguments for registering a taxonomy.
|
||||
* @param string $taxonomy Taxonomy key.
|
||||
* @param string[] $object_type Array of names of object types for the taxonomy.
|
||||
*/
|
||||
$args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user