wpcf7_admin_warnings хук-событиеCF7 1.0

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

add_action( 'wpcf7_admin_warnings', 'wp_kama_wpcf7_admin_warnings_action', 10, 3 );

/**
 * Function for `wpcf7_admin_warnings` action-hook.
 * 
 * @param  $wpcf7-new            
 * @param  $wpcf7_current_action 
 * @param  $post                 
 *
 * @return void
 */
function wp_kama_wpcf7_admin_warnings_action( $wpcf7-new, $wpcf7_current_action, $post ){

	// action...
}
$wpcf7-new
-
$wpcf7_current_action
-
$post
-

Где вызывается хук

В файле: /admin/edit-contact-form.php
wpcf7_admin_warnings
contact-form-7/admin/edit-contact-form.php 56-60
do_action( 'wpcf7_admin_warnings',
	$post->initial() ? 'wpcf7-new' : 'wpcf7',
	wpcf7_current_action(),
	$post
);
contact-form-7/admin/admin.php 435-437
do_action( 'wpcf7_admin_warnings',
	'wpcf7', wpcf7_current_action(), null
);
contact-form-7/admin/admin.php 514-516
do_action( 'wpcf7_admin_warnings',
	'wpcf7-integration', wpcf7_current_action(), $service
);

Где используется хук в Contact Form 7

contact-form-7/admin/admin.php 635
add_action( 'wpcf7_admin_warnings', 'wpcf7_old_wp_version_error', 10, 3 );
contact-form-7/admin/admin.php 660
add_action( 'wpcf7_admin_warnings', 'wpcf7_not_allowed_to_edit', 10, 3 );
contact-form-7/admin/includes/config-validator.php 24
add_action( 'wpcf7_admin_warnings',
contact-form-7/modules/really-simple-captcha.php 346
add_action( 'wpcf7_admin_warnings',