To disable screenshot capability on your WordPress website, you can add the following code to your theme’s functions.php file:

function disable_screenshots() {
    if(!is_admin()) {
        wp_deregister_script('thickbox');
        wp_deregister_style('thickbox');
    }
}
add_action('init','disable_screenshots');

This will deregister the Thickbox script and styles, which are used for the screenshot feature in WordPress. This should effectively disable the screenshot capability for users who are not logged in as an admin.

Alternatively, you can use plugin like “No Right Click Images Plugin” or “Disable Right Click” which will disable the right click functionality on your website which will prevent screenshot functionality.

(Visited 136 times, 1 visits today)
Was this article helpful?
YesNo
Close Search Window