Sanitization Layer DEF RAW RAW RAW SAFE Preset Def MycGetter.php MycGetterPost MycGetterTax MycGetterAcf Repeater [Subfields...] wp_kses_post() esc_html() Field Escaping Nested Array Configuration array defining data requirements. Central orchestrator routing requests to specific handlers. Retrieves core WP post data (title, content, excerpt). Fetches terms and taxonomy relations for the post. Extracts Advanced Custom Fields meta data. Recursively processes nested repeater and flexible layouts. Strips dangerous HTML tags from rich text content. Escapes HTML entities in taxonomy term names. Applies specific escaping based on ACF field type. Final structured array ready for front-end rendering.