protected function make_query_object( $model_class = false ) {

		$query = call_user_func( array( $this->related_model, 'query_with_no_global_scopes' ) );

		if ( ! $model_class ) {
			$query->set_model_class( null );
		}

		return $query;
	}
protected function make_query_object( $model_class = false ) {

		$query = call_user_func( array( $this->related_model, 'query_with_no_global_scopes' ) );

		if ( ! $model_class ) {
			$query->set_model_class( null );
		}

		return $query;
	}
protected function make_query_object ( $ model_class = false ) { $ query = call_user_func ( array ( $ this -> related_model , 'query_with_no_global_scopes' ) ) ; if ( ! $ model_class ) { $ query -> set_model_class ( null ) ; } return $ query ; }
Make a FluentQuery object.

@since 2.0

@param bool $model_class Set the Model class if possible.

@return FluentQuery
Make a FluentQuery object .