¿Podríamos cambiar los tems del objeto Cltvo_Post que no sean arreglos y que sean objetos?
/**
* otorga las categorias al objeto
*/
public function setTerms(){
$this->terms = new stdClass();
foreach (get_taxonomies() as $taxonomy ) {
$this->terms->$taxonomy = $this->getTerms( $taxonomy);
//$this->{'terms_'.$taxonomy} = $this->terms[$taxonomy];
}
}
¿Podríamos cambiar los tems del objeto Cltvo_Post que no sean arreglos y que sean objetos?