wp_post_mime_type_where
wp_post_mime_type_where ( $post_mime_types, $table_alias = '' )
Parameters:- (string|string[]) post_mime_types List of mime types or comma separated string of mime types.
- (string) table_alias Optional. Specify a table alias, if needed. Default empty.
Returns:- (string) The SQL AND clause for mime searching.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Converts MIME types into SQL.