Changeset 49927 for trunk/src/wp-includes/post.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r49926 r49927 1477 1477 * 1478 1478 * @param string $post_type Post type to unregister. 1479 * @return bool|WP_Error True on success, WP_Error on failure or if the post type doesn't exist.1479 * @return true|WP_Error True on success, WP_Error on failure or if the post type doesn't exist. 1480 1480 */ 1481 1481 function unregister_post_type( $post_type ) { … … 5061 5061 * 5062 5062 * @param int|WP_Post $post_id Post ID or object. 5063 * @return bool|string[] Array of URLs already pinged for the given post, false if the post is not found.5063 * @return false|string[] Array of URLs already pinged for the given post, false if the post is not found. 5064 5064 */ 5065 5065 function get_pung( $post_id ) { … … 6117 6117 * @param int $attachment_id Attachment post ID. 6118 6118 * @param array $data Attachment meta data. 6119 * @return int| boolFalse if $post is invalid.6119 * @return int|false False if $post is invalid. 6120 6120 */ 6121 6121 function wp_update_attachment_metadata( $attachment_id, $data ) {
Note: See TracChangeset
for help on using the changeset viewer.