PHP code example of seothemes / core-plugin-activator

1. Go to this page and download the library: Download seothemes/core-plugin-activator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

seothemes / core-plugin-activator example snippets


use SEOThemes\Core\PluginActivator;

$plugins = [
    PluginActivator::REGISTER => [
        'Genesis eNews Extended',
        'Genesis Simple FAQ',
        'Genesis Testimonial Slider',
        'Genesis Widget Column Classes',
        'Google Map',
        'Icon Widget',
        'One Click Demo Import',
        'Simple Social Icons',
        'WP Featherlight',
    ],
];

return [
    PluginActivator::class => $plugins,
];
 

add_action( 'after_setup_theme', function() {
    $config =