wpcf7_admin_management_page()
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wpcf7_admin_management_page();
Код wpcf7_admin_management_page() wpcf7 admin management page CF7 6.2.4.1
function wpcf7_admin_management_page() {
if ( $post = wpcf7_get_current_contact_form() ) {
$post_id = $post->initial() ? -1 : $post->id();
require_once WPCF7_PLUGIN_DIR . '/admin/includes/editor.php';
require_once WPCF7_PLUGIN_DIR . '/admin/edit-contact-form.php';
return;
}
if (
'validate' === wpcf7_current_action() and
wpcf7_validate_configuration() and
current_user_can( 'wpcf7_edit_contact_forms' )
) {
wpcf7_admin_bulk_validate_page();
return;
}
require_once WPCF7_PLUGIN_DIR . '/admin/contact-forms.php';
}