クラス WP_Object_Cache::delete()
2015/01/11
WP_Object_Cache::delete()
定義ファイル :/blog/wp-includes/cache.php
1 2 3 4 5 6 7 8 9 10 11 12 13 | public function delete( $key, $group = 'default', $deprecated = false ) { if ( empty( $group ) ) $group = 'default'; if ( $this->multisite && ! isset( $this->global_groups[ $group ] ) ) $key = $this->blog_prefix . $key; if ( ! $this->_exists( $key, $group ) ) return false; unset( $this->cache[$group][$key] ); return true; } |