A WordPress-centric search engine for devs and theme authors



load_default_embeds ›

Since2.9.0
Deprecatedn/a
apply_filters( 'load_default_embeds', true )
Parameters:
  • (bool) $maybe_load_embeds Whether to load the embeds library. Default true.
    Required: Yes
Defined at:
Codex:

Filters whether to load the default embed handlers.

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





Source

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