| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | private function actions() { |
||
| 23 | add_action( 'admin_menu', array( $this, 'add_submenu' ), 11 ); |
||
| 24 | |||
| 25 | // Register styles |
||
| 26 | add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); |
||
| 27 | |||
| 28 | // Register scripts |
||
| 29 | add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); |
||
| 30 | } |
||
| 31 | |||
| 77 | new WPInv_Recurring_Admin(); |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.