← All changes
|
integrations/thrive-quiz-builder/includes/admin.php
+27
-0
7.9.2
→
8.0.3
View file →
| @@ -1,0 +1,27 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Admin | |
| 4 | + * | |
| 5 | + * @package GamiPress\Thrive_Quiz_Builder\Admin | |
| 6 | + * @since 1.0.0 | |
| 7 | + */ | |
| 8 | +// Exit if accessed directly | |
| 9 | +if( !defined( 'ABSPATH' ) ) exit; | |
| 10 | + | |
| 11 | +/** | |
| 12 | + * Plugin automatic updates | |
| 13 | + * | |
| 14 | + * @since 1.0.0 | |
| 15 | + * | |
| 16 | + * @param array $automatic_updates_plugins | |
| 17 | + * | |
| 18 | + * @return array | |
| 19 | + */ | |
| 20 | +function gamipress_thrive_quiz_builder_automatic_updates( $automatic_updates_plugins ) { | |
| 21 | + | |
| 22 | + $automatic_updates_plugins['gamipress'] = __( 'Thrive Quiz Builder integration', 'gamipress' ); | |
| 23 | + | |
| 24 | + return $automatic_updates_plugins; | |
| 25 | + | |
| 26 | +} | |
| 27 | +add_filter( 'gamipress_automatic_updates_plugins', 'gamipress_thrive_quiz_builder_automatic_updates' ); | |