public function isCalled($hookName)
    {
        $hookName = $this->sanitize($hookName);
        if (!$hookName || ! isset($this->actions[$hookName])) {
            return 0;
        }

        return $this->actions[$hookName];
    }
public function isCalled($hookName)
    {
        $hookName = $this->sanitize($hookName);
        if (!$hookName || ! isset($this->actions[$hookName])) {
            return 0;
        }

        return $this->actions[$hookName];
    }
public function isCalled ( $ hookName ) { $ hookName = $ this -> sanitize ( $ hookName ) ; if ( ! $ hookName || ! isset ( $ this -> actions [ $ hookName ] ) ) { return 0 ; } return $ this -> actions [ $ hookName ] ; }
Check if action hook as execute

@param string $hookName Hook Name

@return integer Count of hook action if has did action
Check if action hook as execute