Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_REST_System_Status_Tools_V2_Controller::get_printable_callback_name( mixed $callback, string $default )
Get a printable name for a callback.
Description Description
Parameters Parameters
- $callback
-
(Required) The callback to get a name for.
- $default
-
(Required) The default name, to be returned when the callback is an inline function.
Return Return
(string) A printable name for the callback.
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php