WPDev.one
Core Function
View Source on Trac ↗

wp_typography_get_css_variable_inline_style()

wp_typography_get_css_variable_inline_style( mixed $attributes, mixed $feature, mixed $css_property )

Generates an inline style for a typography feature e.g. text decoration,

Parameters 3 required

Name / Type Description
$attributes
array

Block's attributes.

Required
$feature
string

Key for the feature within the typography styles.

Required
$css_property
string

Slug for the CSS property the inline style sets.

Required

Return Value

(string)
CSS inline style.

Function Information

Since Version
5.8.0
Source File
wp-includes/deprecated.php
Advertisement