sfw_register_entity

Description

Registers an Entity

Since: 1.0.0

For further information see: SFW_Entity

Code

<?php function sfw_register_entity( $name, $properties ){ 
	 … 
 } ?>

Parameter

$name
(string) A unique Entity name
$properties
(array)

Return

(WP_Error|SFW_Entity) Returns new Entity on Success

File

core/includes/functions-entity.php