- Notice: register_rest_route was called incorrectly
Suddenly I got this error when clicked on the Add New Post link.
Notice: register_rest_route was called incorrectly. The REST API route definition for wpra/v1/templates(?:/(?P[^/]+))? is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in ***/functions.php on line 5225
Please help, How do I fix this?
Ask New Question or
Viewing 1 replies (of 1 total)