Custom validation not working
-
Hello,
I’ve been trying to create a custom field validation, but I’m getting a “Too few arguments” error..
For the hook “um_custom_field_validation_{$custom_field}”
I tried a very basic function, just to var_dump the arguments and it really only sends the $key argument..
I saw that your do_action does have all the arguments, but on wp-includes/class-wp-hook.php it calls only with $key
I’m using WordPress 6.5.2
Could you please check it on your side?
Thank you ??
Itai
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom validation not working’ is closed to new replies.