• Resolved sanchezger

    (@sanchezger)


    when you say:

    If you’d like to disable the clickjacking JavaScript on a page you can use this filter in your theme’s functions.php file.

    add_filter('wp_anti_clickjack', '__return_false' );
    


    If you’d like to disable the clickjacking X-Frame-Options HTTP header you can use this filter in your theme’s functions.php file.

    add_filter('wp_anti_clickjack_x_frame_options_header', '__return_false' );
    

    my question is, how do I do this if I want to avoid x frame options in a specific elementor page or URL.

    Thanks for your help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘disable the clickjacking X-Frame-Options’ is closed to new replies.