PHP code example of wpsh / wp-plugin
1. Go to this page and download the library: Download wpsh/wp-plugin 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/ */
wpsh / wp-plugin example snippets
use WPSH\Plugin;
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
r own plugin.
$awesomePlugin = new AwesomePlugin( $plugin );
$awesomePlugin->init_hooks();