Is there a way to get the return value of a hook defined in a particular module for eg:
$views_theme_hook = module_invoke('views', 'theme');
module_invoke function, I got an array of themes declared in views module. Is this proper way of doing it?
But this function needs arguments for some other hooks for eg:
How could I get the result for
hook_tokens and other similar hooks requiring arguments?