sfw_get_entity_property

Description

Returns property from SFW_Entity instance

Since: 1.0.0

Code

<?php function sfw_get_entity_property( $property_name, $mixed_entity ){ 
	 … 
 } ?>

Parameter

$property_name
(string)
$mixed_entity
(string|SFW_Entity) An Entity name or Entity Instance

Return

(mixed) the value of the Property or false if it does not exists

File

core/includes/functions-entity.php