Changeset 59009 for trunk/src/wp-includes/post.php
- Timestamp:
- 09/11/2024 12:06:15 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r58962 r59009 7795 7795 * @param int|WP_Post $post Post ID or post object where thumbnail should be attached. 7796 7796 * @param int $thumbnail_id Thumbnail to attach. 7797 * @return int|bool True on success, false on failure. 7797 * @return int|bool Post meta ID if the key didn't exist (ie. this is the first time that 7798 * a thumbnail has been saved for the post), true on successful update, 7799 * false on failure or if the value passed is the same as the one that 7800 * is already in the database. 7798 7801 */ 7799 7802 function set_post_thumbnail( $post, $thumbnail_id ) {
Note: See TracChangeset
for help on using the changeset viewer.