PHP code example of kerryrandolph / wp-hook-annotations
1. Go to this page and download the library: Download kerryrandolph/wp-hook-annotations 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/ */
kerryrandolph / wp-hook-annotations example snippets
/**
* @Action(tag="wp_loaded",priority=10,accepted_args=1)
*/
public function doSomething(){
// do something
}