wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



embed_defaults › Filtr WordPress Hooks

Od2.9.0
Przestarzałyn/a
apply_filters( 'embed_defaults', compact( 'width', 'height' )
Parametry: (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. }
    Wymagane: Tak
  • (string) $url The URL that should be embedded.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the default array of embed dimensions.





Źródło

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