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



wp_get_default_privacy_policy_content ›

Since5.0.0
已弃用n/a
apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks )
参数: (4)
  • (string) $content The default policy content.
    Required: Yes
  • (array) $strings An array of privacy policy content strings.
    Required: Yes
  • (bool) $description Whether policy descriptions should be included.
    Required: Yes
  • (bool) $blocks Whether the content should be formatted for the block editor.
    Required: Yes
定义在:
文档:

Filters the default content suggested for inclusion in a privacy policy.





源码

return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks );