wpcf7_dashboard_cf7com_news() │ CF7 1.0

Retrieves the news feed from the contactform7.com site.

Хуков нет.

Возвращает

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

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

wpcf7_dashboard_cf7com_news();

Код wpcf7_dashboard_cf7com_news() CF7 6.2.4.1

function wpcf7_dashboard_cf7com_news() {
	wp_dashboard_cached_rss_widget(
		'wpcf7_dashboard_cf7com_news',
		'wp_dashboard_primary_output',
		array(
			'news' => array(
				'link' => 'https://contactform7.com/',
				'url' => 'https://contactform7.com/feed/',
				'title' => __( 'Contact Form 7 official site', 'contact-form-7' ),
				'items' => 6,
				'show_summary' => 0,
				'show_author' => 0,
				'show_date' => 1,
			),
		)
	);
}