did() did(string $tag) : integer Retrieve the number of times an action has fired. Parameters string $tag The name of the action hook. Returns integer — The number of times action hook $tag is fired.