I've recently run into an issue with the same name for action and filter hook. I'd like to ask whether it is not possible to use the same name (or "tag") for action if the name is already used with a filter. Example:
apply_filters( 'custom_name', $var, $atts );
do_action( 'custom_name', $atts );
In this case there is a PHP warning "Missing argument 2..." thrown out when some function is hooked into the custom_name
filter (the function is perfectly fine with 2 parameter variables in function definition).
Thanks for the answer!
Oliver