This repository has been archived on 2023-08-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
footnotes/src/includes/class-activator.php

56 lines
1.4 KiB
PHP
Raw Normal View History

2021-05-01 21:34:46 +01:00
<?php
/**
2021-05-01 21:38:11 +01:00
* Includes: Activator class
2021-05-01 21:34:46 +01:00
*
* `footnotes\includes` consists of functionality that is shared across both
* the admin- and the public-facing sides of the plugin.
*
* The primary entry point is {@see Footnotes}, which uses {@see Loader}
2021-05-01 21:38:11 +01:00
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
* admin-specific functionality and {@see General\General} for public-facing
2021-05-01 21:34:46 +01:00
* functionality.
*
* It also includes various utility classes:
*
* - {@see Activator}: defines plugin activation behaviour, called in
* {@see activate_footnotes()};
* - {@see Deactivator}: defines plugin deactivation behaviour, called in
* {@see deactivate_footnotes()};
* - {@see Config}: defines plugin constants;
* - {@see Convert}: provides data conversion methods;
* - {@see Settings}: defines configurable plugin settings; and
* - {@see Template}: handles template rendering.
*
* @package footnotes
* @since 2.8.0
*/
2021-05-02 19:33:29 +01:00
declare(strict_types=1);
2021-05-01 21:34:46 +01:00
namespace footnotes\includes;
/**
* Class providing action(s) on plugin activation.
*
* This class defines all code necessary to run during the plugin's activation.
*
* @package footnotes
* @since 2.8.0
*/
class Activator {
/**
* Runs when the plugin is deactivated.
*
* Currently NOP.
*
* @since 2.8.0
*
* @return void
*/
public static function activate() {
// Nothing yet.
}
}