Initial commit.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
20
wp-content/themes/halloween-gift-store/inc/tgm/tgm.php
Normal file
20
wp-content/themes/halloween-gift-store/inc/tgm/tgm.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
require get_template_directory() . '/inc/tgm/class-tgm-plugin-activation.php';
|
||||
/**
|
||||
* Recommended plugins.
|
||||
*/
|
||||
function halloween_gift_store_register_recommended_plugins() {
|
||||
$plugins = array(
|
||||
array(
|
||||
'name' => __( 'Video Popup Block by WPZOOM', 'halloween-gift-store' ),
|
||||
'slug' => 'wpzoom-video-popup-block',
|
||||
'source' => '',
|
||||
'required' => false,
|
||||
'force_activation' => false,
|
||||
)
|
||||
);
|
||||
$config = array();
|
||||
tgmpa( $plugins, $config );
|
||||
}
|
||||
add_action( 'tgmpa_register', 'halloween_gift_store_register_recommended_plugins' );
|
||||
Reference in New Issue
Block a user