Summery Summery
Filters whether to skip saving the image file.
Syntax Syntax
Description Description
Returning a non-null value will short-circuit the save method, returning that value instead.
Parameters Parameters
- $override
-
Value to return instead of saving. Default null.
- $filename
-
Name of the file to be saved.
- $image
-
The image editor instance.
- $mime_type
-
The mime type of the image.
- $post_id
-
Attachment post ID.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |