File "Integrations.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/common/src/Common/Event_Automator/Admin/Tabs/Integrations.php
File size: 1.34 KB
MIME-type: text/x-php
Charset: utf-8

<?php

namespace TEC\Event_Automator\Admin\Tabs;

/**
 * Class Integrations
 *
 * @since 6.0.0 Migrated to Common from Event Automator
 * @package TEC\Event_Automator\Admin\Tabs
 *
 * @deprecated 6.4.1
 *
 */
class Integrations {

	/**
	 * Slug for the tab.
	 *
	 * @since 6.0.0 Migrated to Common from Event Automator
	 *
	 * @deprecated 6.4.1
	 *
	 * @var string
	 */
	public static $slug = 'integrations';

	/**
	 * Register the Tab.
	 *
	 * @since 6.0.0 Migrated to Common from Event Automator
	 *
	 * @deprecated 6.4.1
	 *
	 * @param string Admin page id.
	 */
	public function register_tab( $admin_page ) {
		_deprecated_function( __METHOD__, '6.4.1' );
	}

	/**
	 * Register tab ID for network mode support.
	 *
	 * @since 6.0.0 Migrated to Common from Event Automator
	 *
	 * @deprecated 6.4.1
	 *
	 * @param array<string> $tabs Array of tabs IDs for the Events settings page.
	 *
	 * @return array<string> The filtered list of tab ids.
	 */
	public function register_tab_id( array $tabs ): array {
		_deprecated_function( __METHOD__, '6.4.1' );

		return $tabs;
	}

	/**
	 * Gets the settings.
	 *
	 * @since 6.0.0 Migrated to Common from Event Automator
	 *
	 * @deprecated 6.4.1
	 *
	 * @return array<string,mixed> Key value pair for setting options.
	 */
	public function get_fields(): array {
		_deprecated_function( __METHOD__, '6.4.1' );

		return [];
	}
}