Saving Custom Meta Fields

Home Forums Ticket Products Event Tickets Plus Saving Custom Meta Fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1108486
    Tabytha Rourke
    Participant

    I am working on some custom functionality, and I was hoping someone might be able to point me in the right direction of how I need to get this to work.

    What we want to do is allow members of our site to purchase tickets for other members. I have added a dropdown with a list of members, but I am having trouble getting this information to save since the field is attached to the ticket form programmatically instead of through the backend ticket editor. Are there any hooks or anything I can use to grab this information and store it with the order? Is there an easier way to do this?

    #1108586
    Cliff
    Member

    Hi Tabytha.

    If I’m understanding you correctly, you’re trying to add a drop down field that has its options generated programmatically.

    I found these filters in /wp-content/plugins/event-tickets-plus/src/Tribe/Meta.php

    • event_tickets_plus_meta_fields_by_ticket
    • tribe_tickets_plus_get_meta_fields_by_event

    and

    • event_tickets_plus_field_settings

    in /wp-content/plugins/event-tickets-plus/src/Tribe/Meta/Field/Abstract_Field.php

    I’m not sure this will help, but it might…

    Please let me know if you figure it out. It sounds like a neat customization!

    #1114347
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Saving Custom Meta Fields’ is closed to new replies.