PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: PHP WordPress Hooks and Filters

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2016-11-01

Posted on:

Categories: Notable Packages

WordPress is one of the most popular PHP applications. Part of its popularity came from the fact that it can be extended with thousands of plugins that customize its behavior and functionality.

Those plugins can extend WordPress functionality by the means of callback functions that execute custom code when certain actions happen, as well it can filter data that is generated to present the site Web pages.

This package implements a plugin system like the one in WordPress with action and filter hooks, except that those hooks are registered and manipulated using class objects.

Read this article to learn more details about how this notable PHP package works.


 



The package PHP WordPress Hooks and Filters is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Handle and triggers actions like WordPress

Here follows in more detail what it does:

This class can handle and triggers actions like WordPress.

It can register handlers for actions that can be triggered in a way similar to WordPress. It can:

- Register a handler for an action
- Trigger an action to be handled by all handlers
- Remove a given action handler
- Check if an action handler was registered
- Get the number of times an action was triggered
- Adds an action filter handler
- Remove a given action filter handler
- Check if are there any registered action filters
- Apply all the filters for a given action

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)