Forum Replies Created
-
AuthorPosts
-
tjkelly
ParticipantOK It looks like I’m getting somewhere. It appears to be the:
`
add_filter( ‘posts_where’, array( __CLASS__, ‘posts_where’ ), 10, 2 );
`that is in the method Tribe__Events__Query::pre_get_posts()
I tried running the following sandwiched between my query :
`
remove_filter( ‘posts_where’, array( ‘Tribe__Events__Query’, ‘posts_where’ ), 10);
$events = new WP_Query( array(
‘post_type’ => ‘tribe_events’,
‘posts_per_page’ => – 1
) );
add_filter( ‘posts_where’, array( ‘Tribe__Events__Query’, ‘posts_where’ ), 10, 2);`to remove the filter for this query but that is not effectively removing the filter.
Any ideas how, without modifying the source, I can get this to run in a WP_Query object?
November 1, 2016 at 7:34 am in reply to: [tribe-user-event-confirmations] not working or broken? #1185746tjkelly
ParticipantResolved internally. Not related to TEC functionality. Sorry about that!
October 28, 2016 at 7:42 pm in reply to: [tribe-user-event-confirmations] not working or broken? #1184772tjkelly
ParticipantThis reply is private.
tjkelly
ParticipantThis reply is private.
tjkelly
ParticipantThis reply is private.
tjkelly
ParticipantIf the answer here is something like “currently there’s no way…you’ll have to build your own,” that’s fine. I just need to know where the info is stored. It’s not in postmeta, where I thought it would be.
tjkelly
ParticipantOk I updated. I’ll re-open this if the problem comes back.
Thank you!
tjkelly
ParticipantTurns out I can’t show you because the event where this was happening has passed. I tried in several other events to recreate the problem but I can’t seem to.
tjkelly
ParticipantI have tested for conflicts and found none.
I’ll post the access info in a private response so you can see what I’m seeing.
tjkelly
ParticipantThis reply is private.
tjkelly
ParticipantThis reply is private.
tjkelly
ParticipantIf it’s helpful: I’m not selling tickets. They’re free/RSVP only. Thus they don’t use WooCommerce.
I’m using Event Tickets, not Event Tickets Pro.
tjkelly
ParticipantThank you! Leaving this unresolved until testing.
tjkelly
ParticipantI’ll check out the git repo and files you’ve listed, thank you.
Tickets are free, so refund isn’t an issue. And I’m not terribly worried about restocking the cancelled spot. Only interested in removing the attendee from the list.
Based on that, am I on the right track (with the process I’ve described above)?
tjkelly
ParticipantThank you, that plugin/snippet worked perfectly!
-
AuthorPosts
