Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1291264

    Hello,

    cannot do 2 things
    1. remove debug info from view source

    if(!function_exists('avia_debugging_info')){
      function avia_debugging_info() {
        // 
      }
    }

    I paste this code into the function.php and it did not work

    • This topic was modified 3 years, 7 months ago by Jon.
    #1291928

    Hey Jon,

    Thank you for the inquiry.

    We can use the avf_debugging_info filter to remove the content of the debugging info. Please add this code in the functions.php file.

    add_filter("avf_debugging_info", function($debug) {
       return '';
    }, 10, 1);
    

    Related thread: https://kriesi.at/support/topic/hide-debugging-info-verion-4-4-1/#post-991515

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.