Handle multiple parameters in filter
The problem is that you use apply_filters incorrectly. This function takes at least two parameters: $tag (string) (Required) The name of the filter hook $value (mixed) (Required) The value on which the filters hooked to $tag are applied on. So the first param should be the name of the hook and as second param you … Read more