switching // ============================================================================ if (!function_exists('iamats_mlp_render_hub')) { function iamats_mlp_render_hub() { $landings = iamats_mlp_landings(); $html = "\n\n"; $html .= iamats_mlp_css(); $html .= '
'; $html .= '
'; $html .= '
'; $html .= '

Buying Guides — Find the Right L-TEK Pad

'; $html .= '

Four guides to help you choose. By game, by play level, by community vocabulary. Each one is written by people who actually build and ship the pads.

'; $html .= '
'; $html .= '
'; return $html; } } if (!function_exists('iamats_mlp_render_strip')) { function iamats_mlp_render_strip() { $landings = iamats_mlp_landings(); $html = "\n\n"; $html .= iamats_mlp_css(); $html .= ''; return $html; } } // ============================================================================ // HUB INJECTION (/matology/) // ============================================================================ if (!function_exists('iamats_mlp_hub_hook')) { function iamats_mlp_hub_hook() { if (is_admin()) return; if (function_exists('wp_doing_ajax') && wp_doing_ajax()) return; if (defined('REST_REQUEST') && REST_REQUEST) return; if (!iamats_mlp_is_matology_hub()) return; ob_start('iamats_mlp_hub_filter'); } } if (!function_exists('iamats_mlp_hub_filter')) { function iamats_mlp_hub_filter($html) { // Idempotent if (strpos($html, 'iamats-mlp-buying-guides') !== false) return $html; $section = iamats_mlp_render_hub(); // Try multiple insertion points in priority order if (strpos($html, '') !== false) { return str_replace('', $section . "\n", $html); } // Fallback: before