# hello-plus/1.7.4/classes/render-base.php

Hello Plus, version 1.7.4. 30 lines.

- Page: https://pluginprobe.com/plugins/hello-plus/1.7.4/code/classes/render-base.php
- Raw: https://pluginprobe.com/plugins/hello-plus/1.7.4/raw/classes/render-base.php
- Modified: 2025-07-29T14:37:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hello-plus/1.7.4/code/classes/render-base.php#L10-L20`.

```php
<?php

namespace HelloPlus\Classes;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use Elementor\Widget_Base;
abstract class Render_Base implements Renderable {
	protected Widget_Base $widget;

	protected array $settings;

	protected string $layout_classname;


	abstract public function render(): void;

	protected function get_class_name( string $suffix ): string {
		return $this->layout_classname . $suffix;
	}

	public function __construct( Widget_Base $widget, string $layout_classname ) {
		$this->widget = $widget;
		$this->settings = $widget->get_settings_for_display();
		$this->layout_classname = $layout_classname;
	}
}

```
