sfw_include

Description

Includes a file

Since: 1.0.0

Code

<?php function sfw_include( $path, $data = array() ){ 
	 … 
 } ?>

Parameter

$path
(string) A file relative to the plugin root.
$data
(optional) A set of variables that should be exposed to the included file.

Default: array()

Return

(mixed|void) If the included file returns a value, than this value is returned.

File

core/utils.php