event-tickets.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /*
  3. Plugin Name: Event Tickets
  4. Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
  5. Version: 4.8.1
  6. Author: Modern Tribe, Inc.
  7. Author URI: http://m.tri.be/28
  8. License: GPLv2 or later
  9. Text Domain: event-tickets
  10. Domain Path: /lang/
  11. */
  12. /*
  13. Copyright 2010-2012 by Modern Tribe Inc and the contributors
  14. This program is free software; you can redistribute it and/or
  15. modify it under the terms of the GNU General Public License
  16. as published by the Free Software Foundation; either version 2
  17. of the License, or (at your option) any later version.
  18. This program is distributed in the hope that it will be useful,
  19. but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. GNU General Public License for more details.
  22. You should have received a copy of the GNU General Public License
  23. along with this program; if not, write to the Free Software
  24. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  25. */
  26. if ( ! defined( 'ABSPATH' ) ) {
  27. die( '-1' );
  28. }
  29. define( 'EVENT_TICKETS_DIR', dirname( __FILE__ ) );
  30. define( 'EVENT_TICKETS_MAIN_PLUGIN_FILE', __FILE__ );
  31. // the main plugin class
  32. require_once EVENT_TICKETS_DIR . '/src/Tribe/Main.php';
  33. Tribe__Tickets__Main::instance();