在docblock中get_terms()
, 它在缓存方面说明了以下内容:
* The {@see \'get_terms\'} filter will be called when the cache has the term and will
* pass the found term along with the array of $taxonomies and array of $args.
这是什么意思
will be called the cache has the term
? 这是否意味着当我
apply_filter
在…上
get_terms
, 仅当术语在缓存中时才会调用它?我不完全确定它在这里指的是什么缓存。我还不太熟悉Wordpress缓存,所以如果这对我来说是显而易见的,请原谅我。