first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
/**
* Recommends plugins for use with the theme via the TGMA Script
*
* @package OceanWP WordPress theme
*/
function oceanwp_tgmpa_register() {
// Get array of recommended plugins.
$plugins = array(
array(
'name' => 'Ocean Extra',
'slug' => 'ocean-extra',
'required' => false,
'force_activation' => false,
),
);
// Register notice
tgmpa( $plugins, array(
'id' => 'oceanwp_theme',
'domain' => 'oceanwp',
'menu' => 'install-required-plugins',
'has_notices' => true,
'is_automatic' => true,
'dismissable' => true,
) );
}
add_action( 'tgmpa_register', 'oceanwp_tgmpa_register' );