PHP code example of ilab / ilab-docs
1. Go to this page and download the library: Download ilab/ilab-docs 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/ */
ilab / ilab-docs example snippets
add_filter('ilab-docs-config', function($docsConfig){
$docsConfig[] = [
'title' => 'My Plugin',
'dir' => dirname(__FILE__).'/docs/',
'url' => plugin_dir_url( __FILE__ ).'docs/'
];
return $docsConfig;
}, 10000, 1);