Articles

Article updates

Remove Dashboard Scan widget

The Dashboard Scan Widget is an overview of the Scan section. Thet outputs the basic results of the last Scan operation:

If the Widget is required to not show, it can easily be disabled through the Screen Options, by unchecking it:

To remove the Widget for everyone, a custom code can be used. This works for both, the WP Hide free and the WP Hide PRO:



    add_action( 'init' , '__remove_wp__scan_widget' );
    function __remove_wp__scan_widget()
        {
            global $wph;
            
            if ( is_multisite() && is_network_admin() )
                remove_action( 'wp_network_dashboard_setup', array( $wph, 'wp_dashboard_setup' ) );
                else
                remove_action('wp_dashboard_setup',    array( $wph,    'wp_dashboard_setup' ), 999 );
        }

*The code should be placed within a custom file on /wp-content/mu-plugins/ folder or a custom plugin.

Change default cache folder

When using the PostProcessing functionality, the module process each site’s CSS and JavaScript assets. This can take additional time, depending on the site type and its dependencies.

To reduce the processing time on a new page load, the core is saving each chunk of data locally, within the data collection.

The default location for the files is /cache/wph/ This is customisable through the constant WPH_CACHE_FOLDER within the wp-config.php:


define('WPH_CACHE_FOLDER', 'cache/data');

Once the change is saved, a site cache clear is required to ensure the new location is taking effect.

General / Html User Interactions

Through the User Interactions interface, different types of user actions are possible to block. This helps to limit the interaction between the user and its browser on your website.

The following options are available:

  • Disable Mouse right click
  • Disable Text Selection
  • Disable Copy
  • Disable Cut
  • Disable Paste
  • Disable Print
  • Disable Print Screen
  • Disable Developer Tools
  • Disable View Source
  • Disable Drag / Drop

 
Disable Mouse right click
Disable right mouse click on your pages can protect your site content from being copied.
Some plugins, mainly visual editors, use mouse right-click, if use such code this option should be set to No.

 
Disable Text Selection
When the option is active, the text selection on pages is not possible. This is useful when don’t want the site texts to be copied.

 
Disable Copy
Through this option, the browser copy functionality is disabled.

 
Disable Cut
Through this option, the browser cut functionality is disabled.

 
Disable Paste
Through this option, the browser paste functionality is disabled.

 
Disable Print
When using the option, the browser Print dialogue is not available so a site print is disabled.

 
Disable Print Screen
The Print Screen function captures an image of the entire screen and copies it to the Clipboard in the computer’s memory.
If the functionality is not required, the option helps to disable it.

 
Disable Developer Tools
Every modern web browser includes a powerful tool called Developer Tools. Through the application, a user can inspect currently-loaded HTML, CSS and JavaScript.
To prevent the user from deeply checking into your site architecture, the functionality can be disabled using this option.

 
Disable View Source
The page source is an HTML set of tags code. An HTML tag is an element that, along with CSS and JavaScript, tells the Web browser what to do and how to display the text and images.
Generally, to better protect the page source, the option should be activated.

 
Disable View Source
The page source is an HTML set of tags code. An HTML tag is an element that, along with CSS and JavaScript, tells the Web browser what to do and how to display the text and images.
Generally, to better protect the page source, the option should be activated.

 
Disable Drag / Drop
The Drag and Drop operation describes the action o selecting an object or text on the page and moving it to a different area.
To disable the functionality the option should be set to Yes.

wp-hide/interface/process/reserved_values

This functionality is available for PRO version.

Name: wp-hide/interface/process/reserved_values
Type: Filter
Arguments:
(array) $reserved_values

Through the filter, the system reserved values can be changed, by add or remove specific slugs. A reserved_value item can contain regex patterns e.g. [^\w\-]wp[^\w\-]

The following example add a new system reserved slug as “clear“.
Continue reading

General / Html Emulate CMS

Using the option the system tries to misguide the used WordPress by outputting the wrong traces, of the selected CMS.
Misleading and making a false lead provide extra security, as the attacker search and attempt to hack something which not exist.

The plugin can emulate systems like:

  • Drupal – Drupal is a free and open-source web content management framework.
  • Ghost – Ghost is a free and open-source blogging platform written in JavaScript, designed to simplify the process of online publishing for individual bloggers as well as online publications
  • HubSpot – HubSpot is a marketing and sales software that helps companies attract visitors, convert leads, and close customers.
  • Joomla – Joomla is a free and open-source content management system for publishing web content.
  • TYPO3 – TYPO3 is a free and open-source Web content management system written in PHP.
  • Wix – Wix provides cloud-based web development services, allowing users to create HTML5 websites and mobile sites.

GDPR Compliance

The General Data Protection Regulation (GDPR) is a European Union (EU) law taking effect on May 25, 2018. The purpose of GDPR is to give European citizens more control over their personal and related data stored by others.

The WP Hide PRO plugin never stores any sensitive personal information on the server-side or on the user’s computer locally using cookies. Also never send any type of details to any 3rd service.

Scroll to top