1. Go to this page and download the library: Download akirk/extract-wp-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/ */
akirk / extract-wp-hooks example snippets
/*
* This is example filter 1.
*
* @param string $text The text to modify.
* @param string $mode Extra information that might be useful.
* @return string The modified text.
*/
$result = apply_filters( 'example_filter1', $text, $mode );
*
* @param string $text The text to modify.
* @param string $mode Extra information that might be useful.
* @return string The modified text.
*/
$result = apply_filters( 'example_filter2', $text, $mode );