Changeset 60289
- Timestamp:
- 06/06/2025 09:29:41 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-attachment.php
r55021 r60289 51 51 52 52 /** 53 * Saves a n attachment.53 * Saves a file as an attachment. 54 54 * 55 55 * @since 4.4.0 56 56 * @since 6.2.0 Returns a WP_Error object on failure. 57 57 * 58 * @param string $file The file name to create attachment object for. 58 * @param string $file Full path to the file to create an attachment object for. 59 * The name of the file will be used as the attachment name. 59 60 * @param int $parent_post_id ID of the post to attach the file to. 60 61 *
Note: See TracChangeset
for help on using the changeset viewer.