Summery Summery
Retrieve the tags for a post.
Syntax Syntax
Parameters Parameters
- $id
-
(Required) Post ID.
Return Return
(array|false|WP_Error) Array of tag objects on success, false on failure.
Source Source
File: wp-includes/category-template.php
// The user's options are the third parameter. if ( empty( $args[2]['walker'] ) || ! ( $args[2]['walker'] instanceof Walker ) ) { $walker = new Walker_CategoryDropdown; } else { /** * @var Walker $walker */ $walker = $args[2]['walker']; } return $walker->walk( ...$args ); } //
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |