wp_unique_filename Wordpress function


Description:

Get a filename that is sanitized and unique for the given directory.


Syntax:


Arguments:

(string) $dir
(string) $filename
(mixed) $unique_filename_callback Callback.


Return Type:

(string) New filename, if given wasn't unique.


Define At:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_unique_filename


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×