Constants::is_defined( string $name )

Checks if a “constant” has been set in constants Manager, and if not, checks if the constant was defined with define( ‘name’, ‘value ).


Description Description


Parameters Parameters

$name

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


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: vendor/automattic/jetpack-constants/src/class-constants.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.