/** * WPCode Snippet: WPCode Snippets Sync CPT Registration * Description: Registers shadow CPT for syncing WPCode snippets to REST API * Location: Run Everywhere * Priority: 5 * * INSTALL ORDER: #1 – Install this first * * IMPORTANT:…Continue reading
/** * WPCode Snippet: ACF Fields for WPCode Snippets Sync * Description: Registers ACF fields to store WPCode snippet data in sync CPT * Location: Run Everywhere * Priority: 10 * * INSTALL ORDER: #2 – Install after CPT registration,…Continue reading
/** * WPCode Snippet: REST API Enhancements for WPCode Snippets Sync * Description: Exposes wpcode_snippets_sync CPT fields via REST API for WhaleSync * Location: Run Everywhere * Priority: 15 * * INSTALL ORDER: #4 – Install last, after sync system…Continue reading
/** * After enabling this snippet, go to Settings > Permalinks and click “Save Changes” * Configure the $enabled_post_types array to specify which post types should support .md URLs */ $enabled_post_types = [ ‘post’, ‘page’ ]; // Add rewrite rule…Continue reading
/** * File Size Analyzer for WordPress * Displays all files in WordPress installation sorted by size * Paste this into WPCode as a PHP snippet */ // Only allow administrators to view this if (!current_user_can(‘manage_options’)) { wp_die(‘You do not…Continue reading
/** * WPCode Snippet: MST Case – Tab 8: Contact Log Staging Fields * Description: Temporary staging fields for weekly contact log aggregation * Priority: 13 (loads with Tab 8: Treatment Progress) * Location: mst_case post type * * CRITICAL:…Continue reading
/** * Plugin Name: MST Weekly Summary CPT – Blueprint v4.2 Compliant * Description: Weekly summary CPT for MST cases – hierarchical child of mst_case, optimized for Gravity Suite integration * Version: 2.1.0 – Blueprint v4.2 Aligned (CREATES NEW POST…Continue reading
/** * ============================================ * MST CASE – TAB: ADMINISTRATIVE (v3.0 Modular) * ============================================ * * Purpose: Adds Administrative tab to master field group * Parent: group_mst_case_master * Source: System metadata and internal tracking * Fields: 15 fields * * VERSION:…Continue reading