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



load_default_embeds › WordPress过滤钩子

Since2.9.0
已弃用n/a
apply_filters( 'load_default_embeds', true )
参数:
  • (bool) $maybe_load_embeds Whether to load the embeds library. Default true.
    Required: Yes
定义在:
文档:

Filters whether to load the default embed handlers.

Returning a falsey value will prevent loading the default embed handlers.





源码

if ( ! apply_filters( 'load_default_embeds', true ) ) {