Error Uncaught ArgumentCountError i cant find it
Your problem is how you’re using the wp_new_user_notification_email filter. As you’ll see from its documentation, the callback function receives 3 arguments: $wp_new_user_notification_email $user $blogname However, the function you’re using as the callback accepts 4 arguments. function custom_wp_new_user_notification_email( $wp_new_user_notification_email, $user, $blogname, $post ) { Plus you’ve set the number of arguments to be passed to the … Read more