WPDev.one
Core Function
View Source on Trac ↗

is_theme_paused()

is_theme_paused( mixed $theme )

Determines whether a theme is technically active but was paused while

Parameters 1 required

Name / Type Description
$theme
string

Path to the theme directory relative to the themes directory.

Required

Return Value

(bool)
True, if in the list of paused themes. False, not in the list.

Function Information

Since Version
5.2.0
Source File
wp-admin/includes/theme.php
Advertisement