2020-05-02 / 4101阅 / 悠然
从指定的动作挂钩中删除功能。
该函数删除附加到指定动作挂钩的函数。此方法可用于删除附加到特定过滤器挂钩的默认功能,并可能用替代品替换它们。
(string)
(Required)
The action hook to which the function to be removed is hooked.
(callable)
(Required)
The name of the function which should be removed.
(int)
(Optional)
The priority of the function.
Default value: 10
(bool) Whether the function is removed.