Orders::hook()
Hooks the actions and filter required by the class.
Source
File: src/Tickets/Commerce/Reports/Orders.php
public function hook() {
add_filter( 'post_row_actions', [ $this, 'add_orders_row_action' ], 10, 2 );
add_action( 'admin_menu', [ $this, 'register_orders_page' ] );
}
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |