init.php
public function get_object( $id ) {
		return $this->field->options( 'query_users' )
			? get_user_by( 'id', absint( $id ) )
			: get_post( absint( $id ) );
	}
public function get_object( $id ) {
		return $this->field->options( 'query_users' )
			? get_user_by( 'id', absint( $id ) )
			: get_post( absint( $id ) );
	}
public function get_object ( $ id ) { return $ this -> field -> options ( 'query_users' ) ? get_user_by ( 'id' , absint ( $ id ) ) : get_post ( absint ( $ id ) ) ; }
Get object by id.

@since  1.2.4

@param  int   $id Post or User ID.

@return mixed     Post or User if found.
Get object by id .