private function get_images( $args = array(), $additional_mime_types = array() ) {
		$mime_types = array_merge( array( 'image' ), $additional_mime_types );

		$query_args = array(
			'post_type'      => 'attachment',
			'post__in'       => $args,
			'post_mime_type' => $mime_types,
			'post_status'    => 'any',
			'posts_per_page' => -1,
		);

		return new WP_Query( $query_args );
	}
private function get_images( $args = array(), $additional_mime_types = array() ) {
		$mime_types = array_merge( array( 'image' ), $additional_mime_types );

		$query_args = array(
			'post_type'      => 'attachment',
			'post__in'       => $args,
			'post_mime_type' => $mime_types,
			'post_status'    => 'any',
			'posts_per_page' => -1,
		);

		return new WP_Query( $query_args );
	}
private function get_images ( $ args = array ( ) , $ additional_mime_types = array ( ) ) { $ mime_types = array_merge ( array ( 'image' ) , $ additional_mime_types ) ; $ query_args = array ( 'post_type' => 'attachment' , 'post__in' => $ args , 'post_mime_type' => $ mime_types , 'post_status' => 'any' , 'posts_per_page' => - 1 , ) ; return new WP_Query ( $ query_args ) ; }
Get images from the installation.

@param array $args                  The query arguments to use. Optional.
@param array $additional_mime_types The additional mime types to search for. Optional.

@return WP_Query The query result.
Get images from the installation .