Admin_Menu::integrations_template()
Defines what’s the template that must be loaded for the integrations page, depending on the value of the GET parameter “integration”
Return Return
(null|void)
Source Source
File: src/core/admin/class-admin-menu.php
public function integrations_template() { // Get the current integration $integration_id = $this->integrations_get_id_from_url(); // Check if it's the archive page by checking if an integration ID // is defined in the URL $is_archive = empty( $integration_id ); /* if ( $is_archive ) { $this->integrations_template_load_archive(); } else { $this->integrations_template_load_single(); } */ $this->integrations_template_load_archive(); }
Expand full source code Collapse full source code View on Github