| 1 |
<?php |
| 2 |
/** |
| 3 |
* Provide information about WP Ultimate Post Grid addons. |
| 4 |
* |
| 5 |
* @link https://bootstrapped.ventures |
| 6 |
* @since 3.0.0 |
| 7 |
* |
| 8 |
* @package WP_Ultimate_Post_Grid |
| 9 |
* @subpackage WP_Ultimate_Post_Grid/includes/public |
| 10 |
*/ |
| 11 |
|
| 12 |
/** |
| 13 |
* Provide information about WP Ultimate Post Grid addons. |
| 14 |
* |
| 15 |
* @since 3.0.0 |
| 16 |
* @package WP_Ultimate_Post_Grid |
| 17 |
* @subpackage WP_Ultimate_Post_Grid/includes/public |
| 18 |
* @author Brecht Vandersmissen <brecht@bootstrapped.ventures> |
| 19 |
*/ |
| 20 |
class WPUPG_Addons { |
| 21 |
|
| 22 |
/** |
| 23 |
* Register actions and filters. |
| 24 |
* |
| 25 |
* @since 3.0.0 |
| 26 |
*/ |
| 27 |
public static function init() { |
| 28 |
} |
| 29 |
|
| 30 |
/** |
| 31 |
* Check if a particular addon is active. |
| 32 |
* |
| 33 |
* @since 3.0.0 |
| 34 |
* @param mixed $addon Addon to check. |
| 35 |
*/ |
| 36 |
public static function is_active( $addon ) { |
| 37 |
return apply_filters( 'wpupg_addon_active', false, $addon ); |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
WPUPG_Addons::init(); |
| 42 |
|