Server IP : 66.29.132.124 / Your IP : 18.119.135.67 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/ |
Upload File : |
<?php namespace Modules; class ModuleServiceProvider extends \Illuminate\Support\ServiceProvider { public static function getAdminMenu(){ return []; } public static function getAdminSubmenu(){ return []; } public static function getBookableServices(){ return []; } public static function getMenuBuilderTypes(){ return []; } public static function adminUserMenu(){ return []; } public static function adminUserSubMenu(){ return []; } public static function getUserMenu(){ return []; } public static function getUserSubMenu(){ return []; } public static function getTemplateBlocks(){ return []; } public static function getPaymentGateway(){ return []; } public static function getActionsHook(){ return []; } public static function getFiltersHook(){ return []; } function register() { $actions = static::getActionsHook(); if(!empty($actions)){ foreach ($actions as $args){ call_user_func_array('add_action',$args); } } $filters = static::getFiltersHook(); if(!empty($filters)){ foreach ($filters as $args){ call_user_func_array('add_filter',$args); } } } }