PHP code example of humanmade / psalm-plugin-wordpress
1. Go to this page and download the library: Download humanmade/psalm-plugin-wordpress 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/ */
humanmade / psalm-plugin-wordpress example snippets
e( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' );
define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
xml
<pluginClass class="PsalmWordPress\Plugin">
<useDefaultStubs value="false" />
</pluginClass>
xml
<pluginClass class="PsalmWordPress\Plugin">
<useDefaultHooks value="false" />
</pluginClass>
xml
<pluginClass class="PsalmWordPress\Plugin">
<