Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wordpressutilities/wpudisabler/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Disable WordPress features
Filter list :
/* Prevent plugin deactivation */
add_filter('wpudisabler__disable_plugin_deactivation', '__return_true')
/* Disable WordPress API */
add_filter('wpudisabler__disable_wp_api', '__return_true')
/* Disable WordPress API for non logged-in users*/
add_filter('wpudisabler__disable_wp_api__logged_in', '__return_true')
/* Disable oembed metas */
add_filter('wpudisabler__disable_wp_oembed', '__return_true')
/* Disable the author page */
add_filter('wpudisabler__disable_author_page', '__return_true');
/* Disable feeds */
add_filter('wpudisabler__disable_feeds', '__return_true');