mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Docs: Upgrade more parameters in docblocks to used typed array notation.
See #51800, #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@49693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -41,7 +41,7 @@ function get_post_format( $post = null ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param string|array $format Optional. The format or formats to check.
|
||||
* @param string|string[] $format Optional. The format or formats to check.
|
||||
* @param WP_Post|int|null $post Optional. The post to check. Defaults to the current post in the loop.
|
||||
* @return bool True if the post has any of the given formats (or any format, if no format specified),
|
||||
* false otherwise.
|
||||
|
||||
Reference in New Issue
Block a user