| 1 | <?php |
||
| 6 | class WPInv_Recurring_Admin { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Get started |
||
| 10 | */ |
||
| 11 | function __construct() { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Add actions |
||
| 18 | * |
||
| 19 | * @since 1.0.0 |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | private function actions() { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Add filters |
||
| 34 | * |
||
| 35 | * @since 1.0.0 |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | private function filters() { |
||
| 40 | |||
| 41 | public function add_submenu() { |
||
| 53 | |||
| 54 | public function subscriptions_page() { |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Load frontend styles |
||
| 60 | * |
||
| 61 | * @since 1.0.0 |
||
| 62 | * @return bool |
||
| 63 | */ |
||
| 64 | public function enqueue_styles() { |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Load frontend javascript files |
||
| 69 | * |
||
| 70 | * @since 1.0.0 |
||
| 71 | * @return bool |
||
| 72 | */ |
||
| 73 | public function enqueue_scripts() { |
||
| 75 | } |
||
| 76 | |||
| 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.