esc_html__('Installing', 'blazing'), 'activating' => esc_html__('Activating', 'blazing'), 'error' => esc_html__('Error', 'blazing'), ) ); } /** * Render the section. * * @access protected */ protected function render() { // Determine if the plugin is not installed, or just inactive. $plugins = get_plugins(); $installed = false; foreach ($plugins as $plugin) { if ('Blazing Companion' === $plugin['Name']) { $installed = true; } } $slug = 'blazing-companion'; // Get the plugin-installation URL. $classes = 'cannot-expand accordion-section control-section control-section-install-companion control-section-themes control-section-' . $this->type; ?>