sfw_make_array

Description

Forces single values to be wrapped in an array

Since: 1.0.0

Code

<?php function sfw_make_array( $var ){ 
	 … 
 } ?>

Parameter

$var
(mixed) any value

Return

(array) If $var was an array, returns $var, else returns array( $var )

File

core/utils.php