wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



load_default_embeds › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'load_default_embeds', true )
Paramètres:
  • (bool) $maybe_load_embeds Whether to load the embeds library. Default true.
    Requis: Oui
Défini(e) dans:
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 ) ) {