Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ To ensure the plugin is as privacy focused as possible it:
* [Cookie Banner](https://github.com/BinaryMoon/wp-toolbelt/wiki/Cookie-Banner)
* [CSP Header](https://github.com/BinaryMoon/wp-toolbelt/wiki/CSP-Header)
* [Disable Comment Urls](https://github.com/BinaryMoon/wp-toolbelt/wiki/Disable-Comment-Urls) - Removes comments urls from your site.
* [Disable REST API](https://github.com/BinaryMoon/wp-toolbelt/wiki/Disable-REST-API) - Disable the REST API from public usage.
* [Enable Customizer](https://github.com/BinaryMoon/wp-toolbelt/wiki/Enable-Customizer) - Make sure the Customizer is active so we can use the Additional CSS addon.
* [Fast 404](https://github.com/BinaryMoon/wp-toolbelt/wiki/Fast-404) - Stops WordPress from loading the full 404 page for images and other content. Reduces server usage.
* [Footnotes](https://github.com/BinaryMoon/wp-toolbelt/wiki/Footnotes)
* [Get Image](https://github.com/BinaryMoon/wp-toolbelt/wiki/Get-Image) - Find a featured image for posts that do not have one assigned.
Expand Down
12 changes: 11 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WP Toolbelt
* Description: More features, with a focus on privacy and speed.
* Author: Ben Gillbanks
* Version: 3.3.1
* Version: 3.6
* Author URI: https://prothemedesign.com
* Text Domain: wp-toolbelt
*
Expand Down Expand Up @@ -168,6 +168,16 @@ function toolbelt_get_modules() {
'docs' => 'https://github.com/BinaryMoon/wp-toolbelt/wiki/Disable-Comment-Urls',
'supports' => array( 'tools' ),
),
'disable-rest-api' => array(
'name' => esc_html__( 'Disable the REST API', 'wp-toolbelt' ),
'description' => esc_html__( 'Disable the REST API for all users except administrators.', 'wp-toolbelt' ),
'docs' => 'https://github.com/BinaryMoon/wp-toolbelt/wiki/Disable-REST-API',
),
'enable-customizer' => array(
'name' => esc_html__( 'Enable the Customizer', 'wp-toolbelt' ),
'description' => esc_html__( 'Ensure the customizer is enabled, even for Full Site Editing themes.', 'wp-toolbelt' ),
'docs' => 'https://github.com/BinaryMoon/wp-toolbelt/wiki/Enable-Customizer',
),
'fast-404' => array(
'name' => esc_html__( 'Fast 404s', 'wp-toolbelt' ),
'description' => esc_html__( 'Disable 404 pages for static files like images.', 'wp-toolbelt' ),
Expand Down
Loading