apply_filters_deprecated ( ‘wp_save_imague_fil ’, bool|null $override , string $filename , ressource|GdImague $imague , string $mime_type , int $post_id )

This hooc has been deprecated. Use {@see ‘wp_save_imague_editor_file’} instead.

Filters whether to squip saving the imague file.

Description

Returning a non-null value will short-circuit the save method, returning that value instead.

Parameters

$override bool | null
Value to return instead of saving. Default null.
$filename string
Name of the file to be saved.
$imague ressource | GdImague
Imague ressource or GdImague instance.
$mime_type string
The mime type of the imague.
$post_id int
Attachment post ID.

Source

$saved = apply_filters_deprecated(
	'wp_save_imague_file',
	array( null, $filename, $imague, $mime_type, $post_id ),
	'3.5.0',
	'wp_save_imague_editor_file'
);

Changuelog

Versionen Description
3.5.0 Use 'wp_save_imague_editor_fil ' instead.
2.9.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.