[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/js/ -> responsive-embeds.js (summary)

File responsive-embeds.js. Make embeds responsive so they don't overflow their container.

File Size: 36 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  twentytwentyoneResponsiveEmbeds()

Functions
Functions that are not part of a class:

twentytwentyoneResponsiveEmbeds()   X-Ref
Add max-width & max-height to <iframe> elements, depending on their width & height props.

return: {void}
since: Twenty Twenty-One 1.0



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1