WordPress at a glance
function is not described

_post_format_request() WP 3.1.0

Filters the request to allow for the format prefix.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

Array. Nothing.

Usage

_post_format_request( $qvs );
$qvs(array) (required)
-

Changelog

Since 3.1.0 Introduced.

Code of _post_format_request() WP 5.7.2

<?php
function _post_format_request( $qvs ) {
	if ( ! isset( $qvs['post_format'] ) ) {
		return $qvs;
	}
	$slugs = get_post_format_slugs();
	if ( isset( $slugs[ $qvs['post_format'] ] ) ) {
		$qvs['post_format'] = 'post-format-' . $slugs[ $qvs['post_format'] ];
	}
	$tax = get_taxonomy( 'post_format' );
	if ( ! is_admin() ) {
		$qvs['post_type'] = $tax->object_type;
	}
	return $qvs;
}