Articles

Article updates

Rewrite – Comments

This feature helps to control different aspects regarding the comments area of a post/custom post type.

New wp-comments-post.php

As default the form data is being sent and processed at:

https://-domain-name-/wp-comments-post.php

This makes it easy to recognise as WordPress form. Boots always search for such file ( wp-comments-post.php ) and automatically submit spam messages.
Though this option a new file slug can replace the default.

Block wp-comments-post.php

After changing the default wp-comments-post.php, the old url is still accessible, this provide a way to block the old.

PostProcessing – Html/Css/JS Replacements

This functionality is available for PRO version.

The module implements a post-processing engine, which allows arbitrary words to be replaced with custom ones. This works for all site data such as HTML, CSS, and JavaScript assets. The visual interface is self-explanatory and consists of a Replaced Word and a Replacement Word. This is easy to understand for non-technical persons and does not require any code modifications or debug knowledge.

This is a great way to white-label any plugins or active code on a site, by replacing the specific words (classes, tags, JavaScript variables etc), examples can be found at How to white label Elementor also Hide your Avada Theme, Avada Builder and Fusion core this makes the plugins totally unrecognizable for anonymous users.

For Cascading Style Sheet and JavaScript assets, the processed data is cached into static files and used on the next calls to speed up the site loading. This also increases the overall PageSpeed and YSlow Score which goes to better positioning on search engine rank.

This module also works great with any cache plugins to provide a robust page loading speed.

For the Replacement words, it is recommended random words to avoid conflicts with existing data. Also, avoid using minus sign ( subtraction ) within the replacement, to avoid JavaScript errors for the variables. You can use dashed instead.

Setup the plugin for Nginx

This functionality is available for PRO version.

Most of servers run a LAMP stack (Linux + Apache + MySQL + PHP) which is very popular for being fast and easy to use. Any rewrite is done through the .htaccess file which is created within each site, in the domain root. The file is accessible from php, which imply WordPress and WP Hide plugin. When changing any options through plugin interface, the required rewrite data to re-map urls, is deployed automatically, the process does not require the user intervention. Continue reading

wph/core/set_server_type

This filter has deprecated and replaced with a constant: WPH_SERVER_TYPE. This can be apache, nginx and is. The constant should be place on wp-config.php before the wp-hide default lines.


    define('WPH_SERVER_TYPE',          'apache');

 

 

 

This functionality is available for PRO version.

Name: wph/core/set_server_type
Type: Filter
Arguments: none

This filter can be used to set the server type which will be used internally by the plugin.
Continue reading

wph/components/force_run_on_admin

This functionality is available for PRO version.

Name: wph/components/force_run_on_admin
Type: Filter
Arguments:
(bool) $status
(string) $component_id

By default, certain features are disabled on the WordPress Dashboard to prevent potential conflicts and ensure the stability of core functionalities. However, if needed, you can use this filter to override the default behavior and enable specific modules to run within the admin dashboard as well. This allows for greater flexibility while maintaining control over which features are active in the backend environment.
Continue reading

General / Html – Admin Bar

When being logged-in, on front side WordPress display a top admin bar to facilitate an easy access to different areas and configuration options.

The Admin Bar module can be used to hide the default admin bar, for specif roles.

CDN – CDN Url

This functionality is available for PRO version.

A Content Delivery Network – CDN – is a network of servers located around the globe in fundamental spots with fast access. It takes a while for a web page to load especially if the server is located far away from the user. So they are designed to host and deliver copies of your site’s static and dynamic content such as images, CSS, JavaScript, audio and video streams. Continue reading

Scroll to top