agent_gate = $agent_gate; } /** * Render the Agent Gate tab content */ public function render() { // Get current settings $gate_mode = $this->agent_gate->get_mode(); $custom_bots = $this->agent_gate->get_custom_bots(); $available_bots = $this->agent_gate->get_available_bots(); ?>

agent_gate->get_robots_txt_preview($gate_mode, $custom_bots)); ?>

agent_gate->get_original_robots_txt(); if (!empty($original_content)) { echo '
';
                    echo esc_html($original_content);
                    echo '
'; } else { echo '

' . esc_html__('No original robots.txt content stored yet.', 'ai-ready-core') . '

'; } ?>
agent_gate->reset_settings(); } }