wpcf7_load_integration_page

The Contact Form 7 wpcf7 load integration page function.

Description

wpcf7_load_integration_page(); 

Usage

  1. if ( !function_exists( 'wpcf7_load_integration_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/admin/admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcf7_load_integration_page(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/admin.php  
  1. function wpcf7_load_integration_page() { 
  2. $integration = WPCF7_Integration::get_instance(); 
  3.  
  4. if ( isset( $_REQUEST['service'] ) 
  5. && $integration->service_exists( $_REQUEST['service'] ) ) { 
  6. $service = $integration->get_service( $_REQUEST['service'] ); 
  7. $service->load( wpcf7_current_action() ); 
  8.  
  9. $help_tabs = new WPCF7_Help_Tabs( get_current_screen() ); 
  10. $help_tabs->set_help_tabs( 'integration' );