Exemplo n.º 1
0
 /**
  * @param WP_Post|object|null $post
  * @param array               $args
  */
 function __construct($post, $args = array())
 {
     /*
      * Find the post if possible
      */
     $this->_post = WPLib::get_post($post);
     /*
      * Let our parent class capture whatever properties where passed in as $args
      */
     parent::__construct($args);
 }