wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_unique_id › WordPress Function
Da5.0.3
Deprecaton/a
› wp_unique_id ( $prefix = '' )
Parametri: |
|
Ritorna: |
|
Definito a: |
|
Codex: |
Gets unique ID.
This is a PHP implementation of Underscore's uniqueId method. A static variable contains an integer that is incremented with each call. This number is returned with the optional prefix. As such the returned value is not universally unique, but it is unique across the life of the PHP process.Funzioni correlate: wp_unique_prefixed_id, wp_unique_filename, wp_unique_term_slug, wp_unique_post_slug, wp_is_uuid