humanmade / remove-class-filter
Removes a filter/action added by a WordPress plugin/theme class.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=8.1
- composer/installers: ~1.0 || ~2.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-07-21 08:23:00 UTC
README
This repository defines a utility function remove_class_filter
which can be used to remove a filter/action added by a WordPress plugin/theme class.
Installation
This project can be installed using Composer as humanmade/remove-class-filter
.
Usage
use function HM_Remove_Class_Filter\remove_class_filter; // Remove LSD_Admin::block_admin from the admin_init action (default priority). remove_class_filter( 'admin_init', 'LSD_Admin', 'block_admin' );