Glossary Term
wp_expand_dimensions()
3 tags
1 category
wp_expand_dimensions() — Based on a supplied width/height example, returns the biggest possible dimensions based on the max width/height.
Inputs: $example_width (int): The width of an example embed. $example_height (int): The height of an example embed. $max_width (int): The maximum allowed width. $max_height (int): The maximum allowed height.
Returns int[]: An array of maximum width and height values. Field $0 (int): The maximum width in pixels. Field $1 (int): The maximum height in pixels.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
