remove_filter Wordpress function


Description:

Removes a function from a specified filter hook.


Syntax:


Arguments:

(string) $tag The filter hook to which the function to be removed is hooked.
(callback) $function_to_remove The name of the function which should be removed.
(int) $priority optional. The priority of the function (default: 10).
(int) $accepted_args optional. The number of arguments the function accepts (default: 1).


Return Type:

(boolean) Whether the function existed before it was removed.


Define At:

wp-includes/plugin.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/remove_filter


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×