maybe_unserialize [ WordPress Function ]
maybe_unserialize ( $original )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: maybe_serialize, is_serialized, image_downsize, image_get_intermediate_size, wp_embed_unregister_handler
Unserialize value only if it was serialized.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/maybe unserialize « WordPress Codex
Description. Unserialize value only if it was serialized. Usage. <?php maybe_unserialize( $original ) ?> Parameters. $original: (string) (required) Maybe ...
codex.wordpress.org - #16504 (Faster maybe_unserialize) – WordPress Trac
No exceptions. And they are always trimmed strings. As is_serialized() is of general use and might be used by plugin authors, maybe_unserialize can get a new ...
core.trac.wordpress.org - #19617 (Use maybe_unserialize() for HTTP requests) – WordPress ...
In a few cases, we use this convention: unserialize( wp_remote_retrieve_body( $ response ) ). When the request fails, unserialize() gets an empty string, and ...
core.trac.wordpress.org - maybe_unserialize() WordPress function reference, arguments and ...
function maybe_unserialize( $original ) { if ( is_serialized( $original ) ) // don't attempt to unserialize data that wasn't serialized going in return @unserialize( ...
queryposts.com