@@ -38,6 +38,9 @@ |
||
| 38 | 38 | ); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param string $action |
|
| 43 | + */ |
|
| 41 | 44 | function did_action( $action ) { |
| 42 | 45 | return in_array( $action, wp_list_pluck( $this->items, 'action' ) ); |
| 43 | 46 | } |