• Hello,
    I have tried to add the redirection script tothe function.php but the code is not redirecting to the domain specified.

    add_filter( ‘loop_room_columns’, ‘custom_hotelier_rooms_archive_columns’ );

    function hotelier_custom_add_to_cart_from_room_list_redirect( $url ) {
    $custom_url = ‘ https://secure1.sandbox.directpay.online/payv2.php?ID=XXXX’;

    return $custom_url;
    }
    add_filter( ‘hotelier_add_to_cart_from_room_list_redirect’, ‘hotelier_custom_add_to_cart_from_room_list_redirect’ );

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirection Not Working On my Site’ is closed to new replies.