| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin |
| 4 |
* |
| 5 |
* @package GamiPress\WeForms\Admin |
| 6 |
* @since 1.0.0 |
| 7 |
*/ |
| 8 |
// Exit if accessed directly |
| 9 |
if( !defined( 'ABSPATH' ) ) exit; |
| 10 |
|
| 11 |
/** |
| 12 |
* WP WeForms automatic updates |
| 13 |
* |
| 14 |
* @since 1.0.0 |
| 15 |
* |
| 16 |
* @param array $automatic_updates_plugins |
| 17 |
* |
| 18 |
* @return array |
| 19 |
*/ |
| 20 |
function gamipress_weforms_automatic_updates( $automatic_updates_plugins ) { |
| 21 |
|
| 22 |
$automatic_updates_plugins['gamipress'] = __( 'WP WeForms integration', 'gamipress' ); |
| 23 |
|
| 24 |
return $automatic_updates_plugins; |
| 25 |
|
| 26 |
} |
| 27 |
add_filter( 'gamipress_automatic_updates_plugins', 'gamipress_weforms_automatic_updates' ); |