PluginProbe
QuadMenu – Mega Menu / 3.3.8
QuadMenu – Mega Menu v3.3.8
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / redux / ReduxCore / core / dashboard.php

dashboard.php in QuadMenu – Mega Menu 3.3.8, at redux/ReduxCore/core/dashboard.php

40 lines 936 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 if ( ! class_exists( 'reduxLegacyDashboardWidget' ) ) {
8 class reduxLegacyDashboardWidget {
9
10 public function __construct( $parent ) {
11 $fname = ReduxLegacy_Functions::dat( 'add_redux_dashboard', $parent->args['opt_name'] );
12
13 add_action( 'wp_dashboard_setup', array( $this, $fname ) );
14 }
15
16 public function add_redux_dashboard() {
17 add_meta_box( 'redux_dashboard_widget', 'Redux Framework News', array( $this, 'redux_dashboard_widget' ), 'dashboard', 'side', 'high' );
18 }
19
20 public function dat() {
21 return;
22 }
23
24 public function redux_dashboard_widget() {
25 echo '<div class="rss-widget">';
26 wp_widget_rss_output(
27 array(
28 'url' => 'http://ReduxFrameworkLegacy.com/feed/',
29 'title' => 'REDUX_NEWS',
30 'items' => 3,
31 'show_summary' => 1,
32 'show_author' => 0,
33 'show_date' => 1,
34 )
35 );
36 echo '</div>';
37 }
38 }
39 }
40