@@ 1455-1461 (lines=7) @@ | ||
1452 | * @param string $key - url param key indicating a route is being called |
|
1453 | * @return string |
|
1454 | */ |
|
1455 | public static function get_forward( $route = null, $status = 0, $key = 'ee' ) { |
|
1456 | do_action( 'AHEE__EE_Config__get_forward__begin', $route, $status ); |
|
1457 | if ( isset( EE_Config::$_module_forward_map[ $key ][ $route ][ $status ] ) ) { |
|
1458 | return apply_filters( |
|
1459 | 'FHEE__EE_Config__get_forward', |
|
1460 | EE_Config::$_module_forward_map[ $key ][ $route ][ $status ], |
|
1461 | $route, |
|
1462 | $status |
|
1463 | ); |
|
1464 | } |
|
@@ 1519-1525 (lines=7) @@ | ||
1516 | * @param string $key - url param key indicating a route is being called |
|
1517 | * @return string |
|
1518 | */ |
|
1519 | public static function get_view( $route = null, $status = 0, $key = 'ee' ) { |
|
1520 | do_action( 'AHEE__EE_Config__get_view__begin', $route, $status ); |
|
1521 | if ( isset( EE_Config::$_module_view_map[ $key ][ $route ][ $status ] ) ) { |
|
1522 | return apply_filters( |
|
1523 | 'FHEE__EE_Config__get_view', |
|
1524 | EE_Config::$_module_view_map[ $key ][ $route ][ $status ], |
|
1525 | $route, |
|
1526 | $status |
|
1527 | ); |
|
1528 | } |