I was adding the custom CSS & JS using hooks and there was this error even I didn’t touch the wp-class-hook
The text in the second parameter is not code to run, it is the name of a function. That is why it does not and cannot work. The warning is PHP telling you that no function with that name exists. Or more specifically that is it an invalid function name. A function with () in … Read more