Helper::debug_message( string $message, string $separator = "n", mixed $data = false )

Debug method that sets an action to allow third party scripts to hook to it.


Parameters

$message

(string) (Required) The debug message.

$separator

(string) (Optional) The separator that should be used after the message.

Default value: "n"

$data

(mixed) (Optional) Additional data that will be passed on.

Default value: false


Return

(void)


Source

File: includes/libs/helper.class.php

	public static function debug_message( $message, $separator = "\n", $data = false ){
		/**
		 * Fires a debug message action.
		 *
		 * @param string $message   The message to send to debugger.
		 * @param string $separator A separator to be used.
		 * @param mixed $data       Any type of data that can be passed.
		 */
		do_action( 'vimeotheque\debug', $message, $separator, $data );
	}

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!