Blockseasy_svg_stroke_stylesheet_needed()

easy_svg_stroke_stylesheet_needed()

A per-request latch that says whether the stroke stylesheet is needed.

Function · Easy SVG · Status: Internal · Defined in includes/icons.php

Internal: not part of the promised public surface. It may change without notice.

Usage

easy_svg_stroke_stylesheet_needed( ?bool $set = null ): bool

Example

easy_svg_stroke_stylesheet_needed( true );

Description

Pass true to latch it, null to read. Set by easy_svg_register_icons() on init.

Parameters

body
$setbool|null

true or false to set, null to read.

Return value

returnbool

Current value.