sfw_is_entity
Description
Check if an Entity exists
Since: 1.0.0
For further information see: SFW_Entity_Controller
Code
<?php function sfw_is_entity( $mixed ){
…
} ?>
Parameter
- $mixed
- (string|SFW_Entity) An Entity name or Entity Instance