apply_filters( 'srm_registered_redirects', $redirects, $requested_path ) → {array}
Filter registered redirects.
Allows plugin developers to modify the available redirects.
Parameters:
Name | Type | Description |
---|---|---|
$redirects |
array | Redirects found for the redirect path. |
$requested_path |
string | Original path of the requested URL. |
- Source:
Returns:
Redirects for the redirect path.
- Type
- array