WP_Styles::print_inline_style

SummerySummery

Prints extra CSS styles of a registered stylesheet.

Syntax

WP_Styles::print_inline_style( string $handle, bool $echo = true )

ParametersParameters

$handle

(string) (Required) The style's registered handle.

$echo

(bool) (Optional) Whether to echo the inline style instead of just returning it.

Default value: true

ReturnReturn

(string|bool) False if no data exists, inline styles if $echo is true, true otherwise.

SourceSource

File: wp-includes/class.wp-styles.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top