Core Function
View Source on Trac ↗ wp_get_computed_fluid_typography_value()
wp_get_computed_fluid_typography_value( mixed $args = array() ) Internal implementation of CSS clamp() based on available min/max viewport
Parameters 1 required
| Name / Type | Description |
|---|---|
| array | $args { Optional. An associative array of values to calculate a fluid formula for font size. Default is empty array. Required |
Return Value
((string)
| null) A font-size value using clamp() on success, otherwise null.
Function Information
Since Version
6.1.0
Source File
wp-includes/block-supports/typography.php
Advertisement