PHP Classes

Hook: Register and call action hook functions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 696 All time: 4,709 This week: 455Up
Version License PHP version Categories
hook 1GNU General Publi...5PHP 5, Language
Description 

Author

This class can register and call action hook functions.

It can register one or more a callback functions to be associated with a given named action.

The class can also call all hook functions registered with a given named action. An optional argument of additional parameters may be passed to the called hook functions.

Picture of chema garrido
Name: chema garrido <contact>
Classes: 12 packages by
Country: Spain Spain
Age: 40
All time rank: 37710 in Spain Spain
Week rank: 215 Up7 in Spain Spain Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example Usage example
Accessible without login Plain text file hook.php Class class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:696
This week:0
All time:4,709
This week:455Up