wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



embed_defaults › Hooks de Filtros WordPress

Desde2.9.0
Obsoleton/a
apply_filters( 'embed_defaults', compact( 'width', 'height' )
Parâmetros: (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. }
    Required: Yes
  • (string) $url The URL that should be embedded.
    Required: Yes
Definido em:
Codex:

Filters the default array of embed dimensions.





Fonte

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