Download the PHP package wvnderlab-agency/wp-disable-search without Composer
On this page you can find all versions of the php package wvnderlab-agency/wp-disable-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wvnderlab-agency/wp-disable-search
More information about wvnderlab-agency/wp-disable-search
Files in wvnderlab-agency/wp-disable-search
Download wvnderlab-agency/wp-disable-search
More information about wvnderlab-agency/wp-disable-search
Files in wvnderlab-agency/wp-disable-search
Vendor wvnderlab-agency
Package wp-disable-search
Short Description A simple WordPress mu-plugin to disable search.
License MIT
Homepage https://wvnderlab.com
Package wp-disable-search
Short Description A simple WordPress mu-plugin to disable search.
License MIT
Homepage https://wvnderlab.com
Please rate this library. Is it a good library?
Informations about the package wp-disable-search
wp-disable-search
- Installation
- Usage
- Development
Installation
Via Composer
Via FTP
- Download the repository zip file.
- Unzip the file.
- Upload the unzipped folder to the
/wp-content/mupluginsor/wp-content/plugins/directory on your server. - Navigate to the 'Plugins' section in your WordPress admin dashboard.
- Find 'Disable search' in the list and click 'Activate'.
Via WordPress Admin Dashboard
- Download the repository zip file.
- Navigate to the 'Plugins' section in your WordPress admin dashboard.
- Click 'Add New' and then 'Upload Plugin'.
- Choose the downloaded zip file and click 'Install Now'.
- After installation, click 'Activate Plugin'.
Usage
Filter Hooks
wvnderlab/disable-search/enabled (Default: true)
This filter allows you to disable the plugin functionality.
wvnderlab/disable-search/status-code (Default: 404)
This filter allows you to set the HTTP status code returned when search are disabled.
You can set it to standard codes like 404 (Not Found), 410 (Gone), or redirect codes like 301 (Moved Permanently) or 302 (Found).
wvnderlab/disable-search/redirect-url (Default: home_url())
This filter allows you to override the redirect URL when search are disabled and the wvnderlab/disable-search/status-code filter is set to use a redirect status code (e.g., 301 or 302).
Development
Install Dependencies
Analyse Code-Quality with WP-Coding-Standards
Refactor Code along WP-Coding-Standards
All versions of wp-disable-search with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package wvnderlab-agency/wp-disable-search contains the following files
Loading the files please wait ...