| @@ -2,13 +2,15 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Support for WooCommerce |
| 4 | 4 | * |
| 5 | 5 | * @package event-post |
| 6 | - * @version 5.10.2 | |
| 6 | + * @version 6.1.2 | |
| 7 | 7 | * @since 5.8.0 |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | namespace EventPost; |
| 11 | + | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) exit; | |
| 11 | 13 | |
| 12 | 14 | \add_filter( 'woocommerce_product_tabs', '\EventPost\woocommerce_product_tabs' ); |
| 13 | 15 | \add_filter( 'event-post-rich-result', '\EventPost\woocommerce_rich_result', 10, 2 ); |
| 14 | 16 | |