Adding a function?
-
Can this cope with functions?
function my_allowed_redirect_hosts( $hosts ) {
$my_hosts = array(
‘my.domain.com’,
);
return array_merge( $hosts, $my_hosts );
};
add_filter( ‘allowed_redirect_hosts’, ‘my_allowed_redirect_hosts’ );When added to functions.php it works fine.
But not to this software.
Not sure what I am doing wrong – maybe it is the various options – I am running as php anywhere for example.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding a function?’ is closed to new replies.