# quadmenu/3.3.8/redux/ReduxCore/core/dashboard.php

QuadMenu – Mega Menu, version 3.3.8. 40 lines.

- Page: https://pluginprobe.com/plugins/quadmenu/3.3.8/code/redux/ReduxCore/core/dashboard.php
- Raw: https://pluginprobe.com/plugins/quadmenu/3.3.8/raw/redux/ReduxCore/core/dashboard.php
- Modified: 2024-12-06T15:57:54+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/quadmenu/3.3.8/code/redux/ReduxCore/core/dashboard.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'reduxLegacyDashboardWidget' ) ) {
	class reduxLegacyDashboardWidget {

		public function __construct( $parent ) {
			$fname = ReduxLegacy_Functions::dat( 'add_redux_dashboard', $parent->args['opt_name'] );

			add_action( 'wp_dashboard_setup', array( $this, $fname ) );
		}

		public function add_redux_dashboard() {
			add_meta_box( 'redux_dashboard_widget', 'Redux Framework News', array( $this, 'redux_dashboard_widget' ), 'dashboard', 'side', 'high' );
		}

		public function dat() {
			return;
		}

		public function redux_dashboard_widget() {
			echo '<div class="rss-widget">';
			wp_widget_rss_output(
				array(
					'url'          => 'http://ReduxFrameworkLegacy.com/feed/',
					'title'        => 'REDUX_NEWS',
					'items'        => 3,
					'show_summary' => 1,
					'show_author'  => 0,
					'show_date'    => 1,
				)
			);
			echo '</div>';
		}
	}
}

```
