This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<noscript> | |
<div id="t42-content-protector-js-disabled"> | |
<div><h3>Please Enable JavaScript in your Browser to Visit this Site.</h3></div> | |
</div> | |
<style> | |
#t42-content-protector-js-disabled { | |
position: fixed; | |
top: 0; | |
left: 0; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Disable Developer Tool, HotKeys: Ctrl+Shift+I, ⌘+⌥+I, F12 | |
* Disable to View Source Code of Page by Developer Tools. | |
**/ | |
function disableDeveloperTool() { | |
hotkeys( 'command+option+j,command+option+i,command+shift+c,command+option+c,command+option+k,command+option+z,command+option+e,f12,ctrl+shift+i,ctrl+shift+j,ctrl+shift+c,ctrl+shift+k,ctrl+shift+e,shift+f7,shift+f5,shift+f9,shift+f12', function( event, handler ) { | |
event.preventDefault(); | |
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove 'Elementor' state from pages in admin area. | |
* | |
* @since 1.0.0 | |
* @access public | |
* | |
* @param string[] $post_states An array of post display states. | |
* @param WP_Post $post The current post object. |
OlderNewer