cbc debug message

Description

Fires a debug message. The plugin only triggers the action; hook into it to log or process the debug output (the plugin ships no default handler).

Parameters

$message
(string)(optional) The debug message.

Default:None
$separator
(string)(optional) Line separator.

Default:“n”
$data
(int|string|array)(optional) Optional extra data to log.

Default:false
$type
(string)(optional) Optional message type/category.

Default:false

Example

add_action( 'cbc_debug_message', function( $message, $sep, $data, $type ) {
    error_log( '[Video Hub] ' . $message );
}, 10, 4 );

Start importing in minutes

Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.