[wp-hackers] print_media_templates & filtering SPECIFIC post galleries by ID

Chris McCoy chris at lod.com
Tue Jul 22 23:59:38 UTC 2014

how are you doing the checkbox? attachment fields to edit?

On 2014-07-22, 5:52 PM, "BenderisGreat" <greglancaster71 at gmail.com> wrote:

>I am trying to add a feature to a plugin, and just got stuck yesterday on
>to identify the specific post gallery ID that an option is being set for.
>In a nutshell, I added a checkbox to the Media Gallery ( see bottom right
>checkbox here:  http://postimg.org/image/g423ozl5l/
><http://postimg.org/image/g423ozl5l/>   )
>Now, I would like that option value to coincide with the specific post
>gallery ID for filtering when the post is loaded.  This is where I am
>The print_media_templates filter accepts no arguments, and returns no
>So, I am not sure where the saving of that option value occurs at, or
>the galley ID is returned to.
>Could someone lend me a pair of eyes and share any possible solutions?
>View this message in context:
>Sent from the Wordpress Hackers mailing list archive at Nabble.com.
>wp-hackers mailing list
>wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list