WordPress.org

Support

Support » Plugins and Hacks » Retrieving gallery image custom form field content

Retrieving gallery image custom form field content

  • I created a custom field in my gallery window that lets me specify a link for each image I upload, but now can’t seem to access that link field from my code.

    I have the following to get the title in the attachement loop and it works great:
    $imageTitle = apply_filters('the_title', $attachment->post_title);

    I now thought i could do something like this:
    $imageLink = apply_filters('rt-image-link', $attachment->form_fields);

    I can’t seem to figure out what I am doing wrong. I think I am not asking for the right information?

    Thank you very much for any help one this!!!

  • The topic ‘Retrieving gallery image custom form field content’ is closed to new replies.
Skip to toolbar