WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wpcf7_doing_it_wrong() CF7 1.0

Marks something as being incorrectly called.

Ищем WP-разработчика! Фулл-тайм, удаленка, хорошая зарплата, соц. пакет. Подробности.
Компания Boosta.

Хуков нет.

Возвращает

null. Ничего.

Использование

wpcf7_doing_it_wrong( $function, $message, $version );
$function(строка) (обязательный)
The function that was called.
$message(строка) (обязательный)
A message explaining what has been done incorrectly.
$version(строка) (обязательный)
The version of Contact Form 7 where the message was added.

Код wpcf7_doing_it_wrong() CF7 5.5.2

function wpcf7_doing_it_wrong( $function, $message, $version ) {
	if ( WP_DEBUG ) {
		if ( function_exists( '__' ) ) {
			if ( $version ) {
				$version = sprintf(
					/* translators: %s: Contact Form 7 version number. */
					__( '(This message was added in Contact Form 7 version %s.)', 'contact-form-7' ),
					$version
				);
			}

			trigger_error(
				sprintf(
					/* translators: Developer debugging message. 1: PHP function name, 2: Explanatory message, 3: Contact Form 7 version number. */
					__( '%1$s was called incorrectly. %2$s %3$s', 'contact-form-7' ),
					$function,
					$message,
					$version
				),
				E_USER_NOTICE
			);
		} else {
			if ( $version ) {
				$version = sprintf(
					'(This message was added in Contact Form 7 version %s.)',
					$version
				);
			}

			trigger_error(
				sprintf(
					'%1$s was called incorrectly. %2$s %3$s',
					$function,
					$message,
					$version
				),
				E_USER_NOTICE
			);
		}
	}
}