wpseek.com
WordPress开发者和主题制作者的搜索引擎



site_status_persistent_object_cache_notes › WordPress过滤钩子

Since6.1.0
已弃用n/a
apply_filters( 'site_status_persistent_object_cache_notes', $notes, $available_services )
参数: (2)
  • (string) $notes The notes appended to the health check description.
    Required: Yes
  • (string[]) $available_services The list of available persistent object cache services.
    Required: Yes
定义在:
文档:

Filters the second paragraph of the health check's description when suggesting the use of a persistent object cache.

Hosts may want to replace the notes to recommend their preferred object caching solution.

Plugin authors may want to append notes (not replace) on why object caching is recommended for their plugin.





源码

$notes = apply_filters( 'site_status_persistent_object_cache_notes', $notes, $available_services );