WP_Image_Editor::generate_filename

SummerySummery

Builds an output filename based on current file, and adding proper suffix

Syntax

WP_Image_Editor::generate_filename( string $suffix = null, string $dest_path = null, string $extension = null )

ParametersParameters

$suffix

(string) (Optional)

Default value: null

$dest_path

(string) (Optional)

Default value: null

$extension

(string) (Optional)

Default value: null

ReturnReturn

(string) filename

SourceSource

File: wp-includes/class-wp-image-editor.php


			

ChangelogChangelog

Changelog
Version Description
3.5.0 Introduced.
Scroll to Top