renderer = new Schema_AI_Schema_Renderer(); $this->cache = new Schema_AI_Schema_Cache(); } /** * Render JSON-LD schema markup in wp_head. * * Called on the wp_head action at priority 1. Delegates directly to * Schema_AI_Schema_Renderer::render(), which owns the full "should this * page render, and for which post_id" decision (singular posts/pages, * plus the static "Posts page" special case) — this wrapper used to * duplicate an is_singular()-only version of that check here, which * silently blocked the Posts-page case from ever reaching the renderer * even after render() itself was taught to handle it. */ public function render_schema_json_ld() { $this->renderer->render(); } }