PHP code example of hellonico / wp-early-hooks

1. Go to this page and download the library: Download hellonico/wp-early-hooks 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/ */

    

hellonico / wp-early-hooks example snippets


function add_filter_early($hook_name, $callback, $priority = 10, $accepted_args = 1);

function add_action_early($hook_name, $callback, $priority = 10, $accepted_args = 1);