FFTAC Membership
**Site relevance:** Anti-Christ.org
**Memory type:** plugin source memory
**Source path:** Anti-Christ.org/wp-content/plugins/fftac-membership/fftac-membership.php
**Size:** 1.5 KB
Summary
Plugin Name: FFTAC Membership
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Plugin Name: FFTAC Membership
* Description: Provides the front-end membership portal, account handlers, and protected members area for the Antichrist Engine theme.
* Version: 3.28.0
* Author: Foundation For The Anti-Christ
* Text Domain: antichrist-engine
* Requires Plugins: fftac-foundation-core
*
* @package FFTAC_Membership
*/
if (!defined('ABSPATH')) {
exit;
}
define( 'FFTAC_MEMBERSHIP_VERSION', '3.28.0' );
define('FFTAC_MEMBERSHIP_PLUGIN_FILE', __FILE__);
define('FFTAC_MEMBERSHIP_PLUGIN_DIR', plugin_dir_path(__FILE__));
/**
* Loads the membership module after other plugins have had a chance to load.
*
* @return void
*/
function fftac_membership_load()
{
if (!function_exists('antichrist_engine_security_get_post_value')) {
return;
}
require_once FFTAC_MEMBERSHIP_PLUGIN_DIR . 'inc/membership.php';
}
add_action('plugins_loaded', 'fftac_membership_load', 20);
/**
* Warns administrators when the required Foundation Core plugin is missing.
*
* @return void
*/
function fftac_membership_missing_core_notice()
{
if (function_exists('antichrist_engine_security_get_post_value')) {
return;
}
echo '<div class="notice notice-error"><p>';
echo esc_html__('FFTAC Membership requires the FFTAC Foundation Core plugin to be active.', 'antichrist-engine');
echo '</p></div>';
}
add_action('admin_notices', 'fftac_membership_missing_core_notice');