lib/Post.php
protected function init( $pid = false ) {
		if ( $pid === false ) {
			$pid = get_the_ID();
		}
		if ( is_numeric($pid) ) {
			$this->ID = $pid;
		}
		$post_info = $this->get_info($pid);
		$this->import($post_info);
	}
protected function init( $pid = false ) {
		if ( $pid === false ) {
			$pid = get_the_ID();
		}
		if ( is_numeric($pid) ) {
			$this->ID = $pid;
		}
		$post_info = $this->get_info($pid);
		$this->import($post_info);
	}
protected function init ( $ pid = false ) { if ( $ pid === false ) { $ pid = get_the_ID ( ) ; } if ( is_numeric ( $ pid ) ) { $ this -> ID = $ pid ; } $ post_info = $ this -> get_info ( $ pid ) ; $ this -> import ( $ post_info ) ; }
Initializes a Post
@internal
@param integer $pid
Initializes a Post