PHP code example of bonnier / contenthub-editor

1. Go to this page and download the library: Download bonnier/contenthub-editor 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/ */

    

bonnier / contenthub-editor example snippets

 php
 add_action(WpComposite::SLUG_CHANGE_HOOK, function($postId, $oldLink, $newLink){
    // Do your magic here
 }, 10, 3);