sfw_get_entity

Description

Retrieve an Entity

Since: 1.0.0

For further information see: SFW_Entity_Controller

Code

<?php function sfw_get_entity( $mixed ){ 
	 … 
 } ?>

Parameter

$mixed
(string|SFW_Entity) An Entity name or Entity Instance

Return

(WP_Error|SFW_Entity)

File

core/includes/functions-entity.php