PHP code example of novicell / content_hierarchy

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

    

novicell / content_hierarchy example snippets


// Alter the content list query
HOOK_query_content_hierarchy_content_list_alter()

// Alter or replace the items returned by the content list
HOOK_content_hierarchy_content_list_alter($items)