Defines what’s the template that must be loaded for the integrations page, depending on the value of the GET parameter “integration”


Return Return


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 ) {
		} else {