PHP code example of enhance-dev / enhance-wordpress-plugin

1. Go to this page and download the library: Download enhance-dev/enhance-wordpress-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/ */

    

enhance-dev / enhance-wordpress-plugin example snippets

javascript

function MyHeader($state) {
  return "<style>h1 { color: red; }</style><h1><slot></slot></h1>";
}