Forum Replies Created
-
AuthorPosts
-
Sean SpenceParticipant
This reply is private.
April 5, 2017 at 12:16 pm in reply to: Adding WooCommerce Subscriptions Options to Edit Ticket Admin Screen #1265322Sean SpenceParticipantOk, a better question, how can I modify the $return out put of:
final public function ajax_handler_ticket_edit() {)
I’ve modified the file: event-tickets\src\Tribe\Tickets.php
And added return values that I need and will do what I want.
1) I need to know how I can add return values to that function to get the data I want (without modifying a core file…)
2) I need to know more info about after setting those values how to save them using the same method you do in the edit ticket javascript.April 5, 2017 at 11:27 am in reply to: Adding WooCommerce Subscriptions Options to Edit Ticket Admin Screen #1265276Sean SpenceParticipantCan you give me some idea (or documentation reference) how I could use the same javascript you all use to populate the “Edit Ticket” screen I showed in my attached screenshot in my own custom area?
October 25, 2016 at 7:59 pm in reply to: Call to undefined method Tribe__Events__Community__Main::insert_attachment() #1182945Sean SpenceParticipantYep, looks like I used it right. Thanks.
October 25, 2016 at 11:44 am in reply to: Call to undefined method Tribe__Events__Community__Main::insert_attachment() #1182722Sean SpenceParticipantI figured out the issue.
I’m not sure if this is the way I’m supposed to do this, and there is ZERO documentation on this code so if you would confirm for me I would appreciate it.
I created a new instance of the Class Tribe__Events__Community__Submission_Handler() then used my variable to call the insert_attachment() method inside the Class and this is working.
Is that a correct way to use this code?
// Save the product image $eeg_submission_handler = new Tribe__Events__Community__Submission_Handler(); $upload = $eeg_submission_handler->insert_attachment( 'product_image', $product_id, true );
Sean SpenceParticipantSo the Aggregator plugin on Imports events, it can’t push them out to other services?
-
AuthorPosts