Usage
add_filter( 'allowed_redirect_hosts', 'your_callback_function', 10, 2 );Filter Callback:
function your_callback_function( array($wpp['host']), isset($lp['host']) ? $lp['host'] : '' ) {
// Your code here
return array($wpp['host']);
}Parameters
array($wpp['host'])Parameter 1
isset($lp['host']) ? $lp['host'] : ''Parameter 2
🔄 Filter Hook
Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.