private function fill_defaults()
	{
		if ( ! array_key_exists('ID', $this->attributes) ) {

			$this->attributes['post_type'] = $this->type;

			$this->attributes['post_status'] = $this->status;

		}
	}
private function fill_defaults()
	{
		if ( ! array_key_exists('ID', $this->attributes) ) {

			$this->attributes['post_type'] = $this->type;

			$this->attributes['post_status'] = $this->status;

		}
	}
private function fill_defaults ( ) { if ( ! array_key_exists ( 'ID' , $ this -> attributes ) ) { $ this -> attributes [ 'post_type' ] = $ this -> type ; $ this -> attributes [ 'post_status' ] = $ this -> status ; } }
Fills default when about to create object
Fills default when about to create object