PHP code example of skaut / wordpress-stubs
1. Go to this page and download the library: Download skaut/wordpress-stubs 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/ */
skaut / wordpress-stubs example snippets
return [
'directory_list' => [
'vendor/skaut/wordpress-stubs/stubs'
],
'exclude_analysis_directory_list' => [
'vendor/skaut/wordpress-stubs/stubs'
]
];
neon
parameters:
scanDirectories:
- vendor/skaut/wordpress-stubs/stubs
scanFiles:
- vendor/skaut/wordpress-stubs/stubs/WordPress/functions.php
dynamicConstantNames:
- WP_DEBUG
- ...