Hi Joshua,
There’s no easy way to do it, but it can be done by removing an action that inserts JavaScript snippet that implements copy protection (note: $aio_wp_security
is a variable in global scope):
remove_action('wp_footer', array($aio_wp_security, 'aiowps_footer_content'));
You have to run it after init
action with priority 0, so for example in init
action with priority above 0 or in wp_loaded
(not in after_setup_theme
):
function disable_copy_protection() {
global $aio_wp_security;
remove_action('wp_footer', array($aio_wp_security, 'aiowps_footer_content'));
}
add_action('wp_loaded', 'disable_copy_protection');
Of course, you want to run the this code conditionally, ie. only on your login page. Since I don’t know what’s your login page like, I cannot give you any specific advice here.
Cheers,
?eslav
-
This reply was modified 8 years, 3 months ago by
?eslav Przywara. Reason: typo: global, not globals