/** * WPCode Snippet: Auto-Populate Field Details on CPT Sync * Location: Run Everywhere * Priority: 30 */ defined( ‘ABSPATH’ ) || exit; /** * Hook into CPT sync completion */ add_action( ‘gf_form_feeds_sync_complete’, ‘populate_gf_field_details_data’, 10, 2 ); /** * Main…Continue reading
/** * WPCode Snippet: Expose LifterLMS ACF Fields to REST API * Description: Makes LifterLMS module data accessible via Application Password authentication * Location: Run Everywhere * Priority: 15 */ defined( ‘ABSPATH’ ) || exit; /** * Register LifterLMS ACF…Continue reading
/** * WPCode Snippet: Expose Gravity Forms ACF Fields to REST API * Description: Makes Gravity Forms data accessible via Application Password authentication * Location: Run Everywhere * Priority: 15 */ defined( ‘ABSPATH’ ) || exit; /** * Register Gravity…Continue reading
/** * WPCode Snippet: Gravity Forms & Feeds Sync Engine * Description: Manual sync functionality for forms and their feeds * Location: Run Everywhere * Priority: 20 */ defined( ‘ABSPATH’ ) || exit; // Add a manual test button in…Continue reading
/** * WPCode Snippet: Gravity Forms & Feeds ACF Fields * Description: Registers ACF fields for form and feed data + notification/confirmation content * Location: Run Everywhere * Priority: 10 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘acf/init’, function() {…Continue reading
/** * WPCode Snippet: Gravity Forms & Feeds CPT Registration * Description: Registers custom post type with full REST API support * Location: Run Everywhere * Priority: 0 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘init’, function() { $labels =…Continue reading
/** * WPCode Snippet: Auto-Create .htaccess in Uploads Folder for Force Download * Description: Creates/updates .htaccess in wp-content/uploads to force .txt file downloads * Location: Run Everywhere * Priority: 10 */ defined( ‘ABSPATH’ ) || exit; /** * Create or…Continue reading