Core Function
View Source on Trac ↗ rest_handle_doing_it_wrong()
rest_handle_doing_it_wrong( mixed $function_name, mixed $message, mixed $version ) Handles _doing_it_wrong errors.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $function_name string | The function that was called. Required |
| $message string | A message explaining what has been done incorrectly. Required |
| (string | | null) $version The version of WordPress where the message was added. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
5.5.0
Source File
wp-includes/rest-api.php
Advertisement