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:

Description

Converts MIME types into SQL.

Related Functions

get_post_mime_type, get_post_mime_types, wp_get_mime_types, wp_match_mime_types, wp_mime_type_icon

Top Google Results

User discussions

wpseek mobile