Changeset 48574 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 07/23/2020 12:50:57 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r48529 r48574 14 14 * @since 2.6.0 15 15 * 16 * @param bool $updateAre we updating a pre-existing post?16 * @param bool $update Are we updating a pre-existing post? 17 17 * @param array $post_data Array of post data. Defaults to the contents of $_POST. 18 18 * @return array|WP_Error Array of post data on success, WP_Error on failure. … … 1506 1506 1507 1507 /** 1508 * Output HTML for the post thumbnail meta-box.1508 * Returns HTML for the post thumbnail meta box. 1509 1509 * 1510 1510 * @since 2.9.0 1511 1511 * 1512 * @param int $thumbnail_id ID of the attachment used for thumbnail1513 * @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post.1514 * @return string html1512 * @param int $thumbnail_id ID of the attachment used for thumbnail 1513 * @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post. 1514 * @return string The post thumbnail HTML. 1515 1515 */ 1516 1516 function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
Note: See TracChangeset
for help on using the changeset viewer.