Does anybody know the exact table and field in SQL in which the Gallery setting "Link thumbnail to" (values: Image File, Attachment Page) is stored? I'd like to do a mass update from Attachment page to Image file using SQL.
Let me know!
Does anybody know the exact table and field in SQL in which the Gallery setting "Link thumbnail to" (values: Image File, Attachment Page) is stored? I'd like to do a mass update from Attachment page to Image file using SQL.
Let me know!
Bump... I cannot find where the setting for Link thumbnail to Image File vs Attachment Page is stored in the SQL database...
The function wp_get_attachment_link has a parameter called $permalink (bool) Link to the attachment page (true) or directly to the attachment file/image (false; default) and this must be stored somewhere...
Michiel, did you ever find a answer to this? I'm looking to do the same thing.
This topic has been closed to new replies.