# hello-plus/1.4.0/modules/admin/components/admin-controller.php

Hello Plus, version 1.4.0. 28 lines.

- Page: https://pluginprobe.com/plugins/hello-plus/1.4.0/code/modules/admin/components/admin-controller.php
- Raw: https://pluginprobe.com/plugins/hello-plus/1.4.0/raw/modules/admin/components/admin-controller.php
- Modified: 2025-03-04T09:47:50+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.4.0/code/modules/admin/components/admin-controller.php#L10-L20`.

```php
<?php

namespace HelloPlus\Modules\Admin\Components;

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

class Admin_Controller {

	public function plugin_row_meta( $plugin_meta, $plugin_file ) {

		if ( HELLOPLUS_PLUGIN_BASE === $plugin_file ) {
			$row_meta = [
				'changelog' => '<a href="#" id="hello-plus-whats-new-link" aria-label="' . esc_attr( esc_html__( 'Changelog', 'hello-plus' ) ) . '" >' . esc_html__( 'Changelog', 'hello-plus' ) . '</a><div id="hello-plus-whats-new"></div>',
			];

			$plugin_meta = array_merge( $plugin_meta, $row_meta );
		}

		return $plugin_meta;
	}

	public function __construct() {
		add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
	}
}

```
