WP_Site_Health_Auto_Updates::test_constants

SummerySummery

Test if auto-updates related constants are set correctly.

Syntax

WP_Site_Health_Auto_Updates::test_constants( string $constant, bool $value )

ParametersParameters

$constant

(string) (Required) The name of the constant to check.

$value

(bool) (Required) The value that the constant should be, if set.

ReturnReturn

(array) The test results.

SourceSource

File: wp-admin/includes/class-wp-site-health-auto-updates.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top