sfw_constant

Description

Save way to retrieve a constant that uses the plugins prefix.

Since: 1.0.0

Code

<?php function sfw_constant( $key ){ 
	 … 
 } ?>

Parameter

$key
(string) The constants name.

Return

(mixed) The value of the constant.

File

core/utils.php