Skip to content

Commit 99210ef

Browse files
committed
Adding a before filter for the $options of all public URLs
1 parent 098389f commit 99210ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/mvc_router.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class MvcRouter {
55
public $routes = array();
66

77
public function public_url($options=array()) {
8+
$options = apply_filters('mvc_before_public_url', $options);
89
$defaults = array(
910
'action' => 'index',
1011
'controller' => null

0 commit comments

Comments
 (0)