Filters the attachment file path after the custom header or background image is set.
Description
Used for file replication.
Parameters
$filestring- Path to the file.
$attachment_idint- Attachment ID.
Source
$file = apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.