wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



embed_defaults › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
apply_filters( 'embed_defaults', compact( 'width', 'height' )
Parametri: (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. }
    Richiesto:
  • (string) $url The URL that should be embedded.
    Richiesto:
Definito a:
Codex:

Filters the default array of embed dimensions.





Sorgenti

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