Assume that some other plugin or theme uses a add_action hook. Is there a way to determine if a specific hook is being used by someone else?
Example: assume that a plugin has this code
add_action ( 'publish_post', 'myCustomFunction' );
function myCustomFunction() {
// does something
}
Can my plugin 'look' for the use of that hook into 'publish_post'? And can I remove that particular action hook before it fires?