wpcf7_add_shortcode()CF7 1.0

All the functions and classes in this file are deprecated. You should not use them. The functions and classes will be removed in a later version.

Хуков нет.

Возвращает

null. Ничего.

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

wpcf7_add_shortcode( $tag, $callback, $has_name );
$tag (обязательный)
-
$callback (обязательный)
-
$has_name **
-
По умолчанию: false

Код wpcf7_add_shortcode() CF7 5.6.3

function wpcf7_add_shortcode( $tag, $callback, $has_name = false ) {
	wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_add_form_tag' );

	return wpcf7_add_form_tag( $tag, $callback, $has_name );
}