Skip to content
wiki.fftac.org

Foundation - Source Excerpt 10

Back to Foundation

Summary

This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/plugins/fftac-foundation-core/inc/foundation.php so readers can inspect the evidence without opening the full source file.

**Source path:** Anti-Christ.org/wp-content/plugins/fftac-foundation-core/inc/foundation.php

'searchable' => antichrist_engine_foundation_normalize_search_text($keywords),
        );
    }

    foreach (antichrist_engine_foundation_publication_release_desk() as $index => $route) {
        $keywords = implode(' ', array(
            $route['eyebrow'] ?? '',
            $route['title'] ?? '',
            $route['summary'] ?? '',
            $route['best_for'] ?? '',
            $route['keywords'] ?? '',
            $route['cta'] ?? '',
            $route['secondary_cta'] ?? '',
            'journal release desk publication route newsroom file type flagship essay citation dossier signals briefing review bridge',
        ));

        $items[] = array(
            'id'         => 'publication-route-' . ($index + 1),
            'title'      => (string) ($route['title'] ?? __('Publication route', 'antichrist-engine')),
            'summary'    => (string) ($route['summary'] ?? ''),
            'url'        => antichrist_engine_foundation_build_target_url(
                (string) ($route['target'] ?? ''),
                (array) ($route['args'] ?? array()),
                (string) ($route['anchor'] ?? '')
            ),
            'type'       => 'Publication Route',
            'group'      => 'Journal',
            'meta'       => trim(implode(' / ', array_filter(array(
                $route['eyebrow'] ?? __('Release desk', 'antichrist-engine'),
                $route['best_for'] ?? '',
            )))),
            'keywords'   => $keywords,
            'searchable' => antichrist_engine_foundation_normalize_search_text($keywords),
        );
    }

    foreach (antichrist_engine_foundation_publication_route_packets() as $index => $packet) {
        $keywords = implode(' ', array(
            $packet['eyebrow'] ?? '',
            $packet['title'] ?? '',
            $packet['summary'] ?? '',
            $packet['note'] ?? '',
            implode(' ', array_map('strval', (array) ($packet['includes'] ?? array()))),
            $packet['keywords'] ?? '',
            $packet['primary_cta'] ?? '',
            $packet['secondary_cta'] ?? '',
            'journal publication packet newsroom packet first read citation packet historical packet contributor packet media packet',
        ));

        $items[] = array(
            'id'         => 'publication-packet-' . ($index + 1),
            'title'      => (string) ($packet['title'] ?? __('Publication packet', 'antichrist-engine')),
            'summary'    => (string) ($packet['summary'] ?? ''),
            'url'        => antichrist_engine_foundation_build_target_url(
                (string) ($packet['primary_target'] ?? ''),
                (array) ($packet['primary_args'] ?? array()),
                (string) ($packet['primary_anchor'] ?? '')
            ),
            'type'       => 'Publication Packet',
            'group'      => 'Journal',
            'meta'       => trim(implode(' / ', array_filter(array(
                $packet['eyebrow'] ?? __('Publication packet', 'antichrist-engine'),
                $packet['note'] ?? '',
            )))),
            'keywords'   => $keywords,
            'searchable' => antichrist_engine_foundation_normalize_search_text($keywords),
        );
    }

    foreach (antichrist_engine_foundation_program_interest_options() as $slug => $program) {
        $keywords = implode(' ', array(
            $program['label'] ?? '',
            $program['description'] ?? '',
            $program['title'] ?? '',
            $program['summary'] ?? '',
            $program['format'] ?? '',
            $program['cadence'] ?? '',
            $program['audience'] ?? '',
            $program['current_cycle'] ?? '',
            $program['member_layer'] ?? '',
            $program['keywords'] ?? '',
            $slug,
            'cohort summit verified research academic affiliate program readiness member workflow application packet',
        ));

        $items[] = array(
            'id'         => 'program-' . $slug,
            'title'      => (string) ($program['label'] ?? $slug),
            'summary'    => (string) ($program['description'] ?? ''),
            'url'        => antichrist_engine_foundation_build_target_url('join', array('program' => $slug), 'program-intake'),
            'type'       => 'Program',
            'group'      => 'Participation',
            'meta'       => trim(implode(' / ', array_filter(array(
                $program['format'] ?? '',
                $program['cadence'] ?? '',
            )))),
            'keywords'   => $keywords,
            'searchable' => antichrist_engine_foundation_normalize_search_text($keywords),
        );
    }

    $readiness_keywords = 'program readiness desk application packet fit signals prepare before applying cohorts summits verified research academic affiliate';
    $items[]            = array(
        'id'         => 'join-program-readiness',
        'title'      => __('Program readiness desk', 'antichrist-engine'),
        'summary'    => __('Fit signals, preparation notes, and route maps for the public participation lanes.', 'antichrist-engine'),
        'url'        => antichrist_engine_foundation_build_target_url('join', array(), 'program-readiness'),
        'type'       => 'Page Section',
        'group'      => 'Participation',
        'meta'       => __('Join / readiness', 'antichrist-engine'),
        'keywords'   => $readiness_keywords,
        'searchable' => antichrist_engine_foundation_normalize_search_text($readiness_keywords),
    );

    $workflow_keywords = 'member workflow protected portal coordination draft routing profile continuity cohort notes summit notices contributor follow-up';
    $items[]           = array(
        'id'         => 'portal-member-workflow',
        'title'      => __('Member workflow', 'antichrist-engine'),
        'summary'    => __('Protected continuity for profile management, draft routing, cohort follow-up, and program coordination inside the portal.', 'antichrist-engine'),
        'url'        => antichrist_engine_foundation_build_target_url('membership_portal', array(), 'member-workflow'),
        'type'       => 'Page Section',
        'group'      => 'Participation',
        'meta'       => __('Portal / protected workflow', 'antichrist-engine'),
        'keywords'   => $workflow_keywords,
        'searchable' => antichrist_engine_foundation_normalize_search_text($workflow_keywords),
    );

    foreach (antichrist_engine_foundation_contact_channels() as $slug => $channel) {
        $keywords = implode(' ', array(
            $channel['label'] ?? '',
            $channel['title'] ?? '',
            $channel['summary'] ?? '',
            $channel['response_note'] ?? '',
            $channel['best_for'] ?? '',
            implode(' ', array_map('strval', (array) ($channel['include'] ?? array()))),
            $channel['keywords'] ?? '',
            'contact desk routed message public correspondence launch issue',
        ));

        $items[] = array(
            'id'         => 'contact-route-' . sanitize_key((string) $slug),
            'title'      => (string) ($channel['title'] ?? $channel['label'] ?? $slug),
            'summary'    => (string) ($channel['summary'] ?? ''),
            'url'        => add_query_arg('route', $slug, antichrist_engine_foundation_get_page_url('contact')) . '#contact-desk',
            'type'       => 'Contact Route',
            'group'      => 'Contact Desk',
            'meta'       => trim(implode(' / ', array_filter(array(
                $channel['eyebrow'] ?? __('Contact route', 'antichrist-engine'),
                $channel['response_note'] ?? '',
            )))),
            'keywords'   => $keywords,
            'searchable' => antichrist_engine_foundation_normalize_search_text($keywords),
        );
    }

    foreach (antichrist_engine_foundation_support_impact_tracks() as $index => $impact) {
        $keywords = implode(' ', array(
            $impact['eyebrow'] ?? '',
            $impact['title'] ?? '',
            $impact['summary'] ?? '',
            $impact['keywords'] ?? '',
            'support impact ledger visible public outputs launch funding priorities',
        ));

        $items[] = array(
            'id'         => 'support-impact-' . ($index + 1),
            'title'      => (string) ($impact['title'] ?? __('Support impact', 'antichrist-engine')),
            'summary'    => (string) ($impact['summary'] ?? ''),
            'url'        => antichrist_engine_foundation_build_target_url(
                (string) ($impact['target'] ?? ''),
                (array) ($impact['args'] ?? array()),
                (string) ($impact['anchor'] ?? '')
            ),
            'type'       => 'Support Impact',
            'group'      => 'Support',