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



embed_defaults › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'embed_defaults', compact( 'width', 'height' )
Paramètres: (2)
  • (int[]) $size { Indexed array of the embed width and height in pixels. @type int $0 The embed width. @type int $1 The embed height. }
    Requis: Oui
  • (string) $url The URL that should be embedded.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the default array of embed dimensions.





Source

return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url );