Tuesday, October 4, 2011

Checking whether a module having a hook or not

echo "--".module_hook("common", "chellam");
/* if the hook method exists in a module, then it will return 1 else return 0 */

No comments:

Post a Comment

Followers