Author: Brandon Wamboldt (brandon.wamboldt@gmail.com)
Inheritance: implements WordPress\ORM\ModelInterface
Exemple #1
0
 /**
  * Convert complex objects to strings to insert into the database.
  *
  * @param  array $props
  * @return array
  */
 public function flatten_props($props)
 {
     unset($props['meta']);
     return parent::flatten_props($props);
 }
Exemple #2
0
 /**
  * @var string
  */
 public function __construct(array $properties = array())
 {
     parent::__construct($properties);
 }