Make WordPress Core


Ignore:
Timestamp:
09/11/2024 12:06:15 PM (8 months ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements and corrections.

See #61608

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r58962 r59009  
    77957795 * @param int|WP_Post $post         Post ID or post object where thumbnail should be attached.
    77967796 * @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.
    77987801 */
    77997802function set_post_thumbnail( $post, $thumbnail_id ) {
Note: See TracChangeset for help on using the changeset viewer.