wp_post_mime_type_where( string|string[] $post_mime_types, string $table_alias = '' )
Converts MIME types into SQL.
Parameters
- $post_mime_types
-
(Required) List of mime types or comma separated string of mime types.
- $table_alias
-
(Optional) Specify a table alias, if needed.<br>
Default value: ''
Return
(string) The SQL AND clause for mime searching.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |