Changeset 57273
- Timestamp:
- 01/12/2024 04:47:03 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r57239 r57273 6666 6666 * @since 4.2.0 6667 6667 * 6668 * @param string $type Attachment type. Accepts 'image', 'audio', or 'video'.6668 * @param string $type Attachment type. Accepts `image`, `audio`, `video`, or a file extension. 6669 6669 * @param int|WP_Post $post Optional. Attachment ID or object. Default is global $post. 6670 * @return bool True if one of the accepted types, false otherwise.6670 * @return bool True if an accepted type or a matching file extension, false otherwise. 6671 6671 */ 6672 6672 function wp_attachment_is( $type, $post = null ) {
Note: See TracChangeset
for help on using the changeset viewer.