Skip to content

Instantly share code, notes, and snippets.

@sc0ttkclark
Created October 21, 2025 14:13
Show Gist options
  • Select an option

  • Save sc0ttkclark/0ff68c40a30fdf0e5e681aa28ec3aa66 to your computer and use it in GitHub Desktop.

Select an option

Save sc0ttkclark/0ff68c40a30fdf0e5e681aa28ec3aa66 to your computer and use it in GitHub Desktop.

Revisions

  1. sc0ttkclark created this gist Oct 21, 2025.
    18 changes: 18 additions & 0 deletions fair-plugin.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    <?php
    /**
    * Plugin Name: FAIR - Federated and Independent Repositories
    * Description: Make your site more FAIR.
    * Version: 1.0.0
    * Author: FAIR Contributors
    * License: GPLv2
    * Requires at least: 5.4
    * Requires PHP: 7.4
    * Text Domain: fair
    * Domain Path: /fair-plugin/languages
    */

    add_action( 'plugins_loaded', static function() {
    if ( ! defined( '\FAIR\VERSION' ) ) {
    require_once __DIR__ . '/fair-plugin/plugin.php';
    }
    } );