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

0.1.0 2025-07-18 10:59 UTC

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' );