Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/remove filter


This function removes a function attached to a specified filter hook. This method can be used to remove default functions attached to a specific filter hook and possibly replace them with a substitute.


(string) (required) The filter hook to which the function to be removed is hooked.
Default: None
(callback) (required) The name of the function which should be removed.
Default: None
(integer) (optional) The priority of the function.
Default: 10
(integer) (optional) The number of arguments the function accepts.
Default: 1


(boolean) : Whether the function is removed.

This page is marked as incomplete. You can help Codex by expanding it.