wpcf7_dashboard_widgets() │ CF7 1.0

Defines the core widgets for the Contact Form 7 Dashboard.

Хуков нет.

Возвращает

null. Ничего (null).

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

wpcf7_dashboard_widgets();

Код wpcf7_dashboard_widgets() CF7 6.2.4.1

function wpcf7_dashboard_widgets() {
	return array(
		'wpcf7_dashboard_right_now' => array(
			'widget_name' => __( 'At a Glance', 'contact-form-7' ),
		),
		'wpcf7_dashboard_news' => array(
			'widget_name' => __( 'News', 'contact-form-7' ),
		),
		'wpcf7_get_support' => array(
			'widget_name' => __( 'Get Support', 'contact-form-7' ),
			'context' => 'side',
		),
		'wpcf7_spam_protection' => array(
			'widget_name' => __( 'Spam Protection', 'contact-form-7' ),
			'context' => 'side',
		),
		'wpcf7_save_messages' => array(
			'widget_name' => __( 'Save Messages', 'contact-form-7' ),
			'context' => 'side',
		),
	);
}