WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Query string to get the list of images from the library

[Resolved] Query string to get the list of images from the library

  • I would like to know what is the query that is used to get the list of images from the library.

    I have ‘SELECT * FROM wp_posts where post_type = \’attachment\’ and post_mime_type LIKE \’%image%\”, but I don’t think this the appropriate query string.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Query string to get the list of images from the library’ is closed to new replies.
Skip to toolbar