Open wpplumber opened 4 years ago
while expecting to have two separate calls toward frontends dashboard and loggin when visiting https://domain/dashboard/ called log register_hook called and second other function on dashboard controller called!
dashboard
loggin
https://domain/dashboard/
register_hook
$router ->register_route_of_type(ROUTE_TYPE::LATE_FRONTEND_WITH_POSSIBLE_AJAX) ->with_controller('Dashboard@register_hook_callbacks')..
$router ->register_route_of_type(ROUTE_TYPE::FRONTEND) ->with_controller('Logginn@loggin_register_hook_callbacks') // ->with_model('Logginn') ->with_view('Logginn');
seems routes.php call defined routes multiple times not the current route example dashboard for https://domain/dashboard/!
routes.php
why are people trying to mvc wordpress ? this whole project is a pita
while expecting to have two separate calls toward frontends
dashboard
andloggin
when visitinghttps://domain/dashboard/
called logregister_hook
called and second other function on dashboard controller called!