Changeset 46662 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 11/05/2019 09:28:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r46623 r46662 1083 1083 * @since 2.5.0 1084 1084 * 1085 * @param string $type The post_type you want the statuses for 1086 * @return array As array of all the statuses for the supplied post type1085 * @param string $type The post_type you want the statuses for. Default 'post'. 1086 * @return string[] An array of all the statuses for the supplied post type. 1087 1087 */ 1088 1088 function get_available_post_statuses( $type = 'post' ) { … … 1493 1493 * 1494 1494 * @param int $thumbnail_id ID of the attachment used for thumbnail 1495 * @param mixed $postThe post ID or object associated with the thumbnail, defaults to global $post.1495 * @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post. 1496 1496 * @return string html 1497 1497 */ … … 2151 2151 * 2152 2152 * @param WP_Post $post Post object. 2153 * @return array Array of block categories.2153 * @return array[] Array of block categories. 2154 2154 */ 2155 2155 function get_block_categories( $post ) {
Note: See TracChangeset
for help on using the changeset viewer.