Changeset 99 in tests
- Timestamp:
- 12/03/2007 10:03:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testlib/utils.php
r81 r99 88 88 // return a count of the number of times the action was called since the last reset 89 89 function get_call_count($tag='') { 90 if ($ hook) {90 if ($tag) { 91 91 $count = 0; 92 92 foreach ($this->events as $e) 93 if ($e['action'] == $ hook)93 if ($e['action'] == $tag) 94 94 ++$count; 95 95 return $count;
Note: See TracChangeset
for help on using the changeset viewer.