public static function make_complex_query_object( $slug, array $args = array() ) {

		$table = static::get( $slug );

		if ( empty( $table ) || empty( static::$tables[ $slug ]['query'] ) ) {
			return null;
		}

		$class = static::$tables[ $slug ]['query'];

		$query = new $class( $args );

		return $query;
	}
public static function make_complex_query_object( $slug, array $args = array() ) {

		$table = static::get( $slug );

		if ( empty( $table ) || empty( static::$tables[ $slug ]['query'] ) ) {
			return null;
		}

		$class = static::$tables[ $slug ]['query'];

		$query = new $class( $args );

		return $query;
	}
public static function make_complex_query_object ( $ slug , array $ args = array ( ) ) { $ table = static :: get ( $ slug ) ; if ( empty ( $ table ) || empty ( static :: $ tables [ $ slug ] [ 'query' ] ) ) { return null ; } $ class = static :: $ tables [ $ slug ] [ 'query' ] ; $ query = new $ class ( $ args ) ; return $ query ; }
Make a complex query object.

@since 1.0

@param string $slug
@param array  $args

@return Complex_Query|null
Make a complex query object .