Switch language

wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren




wp_cache_set [ WordPress Function ]

wp_cache_set ( $key, $data, $group = '', $expire = 0 )
Parameter:
  • (int|string) $key What to call the contents in the cache
  • (mixed) $data The contents to store in the cache
  • (string) $group Where to group the cache contents
  • (int) $expire When to expire the cache contents
Nutzt:
  • $wp_object_cache
Siehe:
  • WP_Object_Cache::set()
Gibt zurück:
  • (bool) False if cache key and group already exist, true on success
Definiert in:



Saves the data to the cache.

Source


<?php
function wp_cache_set($key$data$group ''$expire 0) {
    global 
$wp_object_cache;

    return 
$wp_object_cache->set($key$data$group$expire);
}
?>

Beispiele [ wp-snippets.com ]

Top Google Suchergebnisse

Mehr ...

0 Nutzerkommentare

Noch keine. Sei der Erste!

Neu hinzufügen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics