• micstei

    (@micstei)


    Hallo
    Ich habe den Code eingefügt nun habe ich keinen Zugriff auf meine Seiten

    add_filter( ‘woocommerce_billing_fields’, ‘wc_npr_filter_phone’, 10, 1 );

    function wc_npr_filter_phone( $address_fields ) {
    $address_fields[‘billing_phone’][‘required’] = false;
    return $address_fields;
    }

    Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/profifarben.at/httpdocs/wp-content/themes/hamburg/functions.php on line 893

    wie kann ich jetzt das Rückg?ngig machen

    Danke micstei https://www.profifarben.at

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • lorro

    (@lorro)

    I have inserted the code now I have no access to my pages
    ….
    how can I make the Undo now

    You will need to use ftp or your host’s file manager software to access the file where you put the code. You can remove your code, or you can replace the file with a good copy from a fresh download of your theme.

    Your code looks valid. Probably the error is nearby.

    When you are ready to try again, carry out the edit and use this service first to make sure the whole file is valid:
    https://phpcodechecker.com/

Viewing 1 replies (of 1 total)
  • The topic ‘Nach einfügen eines Codes kein Zugriff auf meine Homepage’ is closed to new replies.