Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'wootix_no_hijack' );
- function wootix_no_hijack() {
- if ( ! class_exists( 'TribeWooTickets' ) ) return;
- remove_filter( 'post_type_link', array( TribeWooTickets::get_instance(), 'hijack_ticket_link' ), 10, 4 );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement