PHP code example of soberwp / bundle
1. Go to this page and download the library: Download soberwp/bundle 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/ */
soberwp / bundle example snippets
add_filter('sober/bundle/file', function () {
return get_stylesheet_directory() . '/plugin-dependencies.yaml';
});
return [
[
'name' => 'Disable Comments',
'slug' => 'disable-comments',
' 'source' => 'https://github.com/soberwp/models/archive/master.zip',
'external_url' => 'https://github.com/models/intervention',
'