wpcf7_admin_integration_page()
Хуки из функции
Возвращает
null
. Ничего.
Использование
wpcf7_admin_integration_page();
Код wpcf7_admin_integration_page() wpcf7 admin integration page CF7 5.7.5.1
<?php function wpcf7_admin_integration_page() { $integration = WPCF7_Integration::get_instance(); $service = isset( $_REQUEST['service'] ) ? $integration->get_service( $_REQUEST['service'] ) : null; ?> <div class="wrap" id="wpcf7-integration"> <h1><?php echo esc_html( __( 'Integration with External API', 'contact-form-7' ) ); ?></h1> <p><?php echo sprintf( /* translators: %s: link labeled 'Integration with external APIs' */ esc_html( __( "You can expand the possibilities of your contact forms by integrating them with external services. For details, see %s.", 'contact-form-7' ) ), wpcf7_link( __( 'https://contactform7.com/integration-with-external-apis/', 'contact-form-7' ), __( 'Integration with external APIs', 'contact-form-7' ) ) ); ?></p> <?php do_action( 'wpcf7_admin_warnings', 'wpcf7-integration', wpcf7_current_action(), $service ); do_action( 'wpcf7_admin_notices', 'wpcf7-integration', wpcf7_current_action(), $service ); if ( $service ) { $message = isset( $_REQUEST['message'] ) ? $_REQUEST['message'] : ''; $service->admin_notice( $message ); $integration->list_services( array( 'include' => $_REQUEST['service'], ) ); } else { $integration->list_services(); } ?> </div> <?php }