# templately/2.0.3/includes/Core/Maintenance.php

Templately – Elementor &amp; Gutenberg Template Library: 6500+ Free &amp; Pro Ready Templates And Cloud!, version 2.0.3. 37 lines.

- Page: https://pluginprobe.com/plugins/templately/2.0.3/code/includes/Core/Maintenance.php
- Raw: https://pluginprobe.com/plugins/templately/2.0.3/raw/includes/Core/Maintenance.php
- Modified: 2022-10-04T12:04:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/templately/2.0.3/code/includes/Core/Maintenance.php#L10-L20`.

```php
<?php

namespace Templately\Core;

class Maintenance {
	/**
	 * Init Maintenance
	 *
	 * @since 2.0.1
	 * @return void
	 */
	public static function init(){
		register_activation_hook( TEMPLATELY_PLUGIN_BASENAME, [ __CLASS__, 'activation' ] );
		register_uninstall_hook( TEMPLATELY_PLUGIN_BASENAME, [ __CLASS__, 'uninstall' ] );
	}

	/**
	 * Runs on activation
	 *
	 * @since 2.0.1
	 * @return void
	 */
	public static function activation(){

	}

	/**
	 * Runs on uninstallation.
	 *
	 * @since 2.0.1
	 * @return void
	 */
	public static function uninstall(){

	}
}

```
