/home/vianto5/.trash/cititower.mx/wp-content/plugins/siteorigin-panels/inc
Edit: /home/vianto5/.trash/cititower.mx/wp-content/plugins/siteorigin-panels/inc/admin-dashboard.php (3954B)
$dashboard['so-dashboard-news'] );
$wp_meta_boxes['dashboard']['normal']['core'] = array_merge( $ours, $dashboard ); // WPCS: override ok.
}
}
/**
* Enqueue the dashboard styles
*/
public function enqueue_admin_styles( $page ) {
$screen = get_current_screen();
if ( ! empty( $screen ) && $screen->id == 'dashboard' ) {
wp_enqueue_style(
'so-panels-dashboard',
esc_url( siteorigin_panels_url( 'css/dashboard' . SITEORIGIN_PANELS_CSS_SUFFIX . '.css' ) ),
array( 'wp-color-picker' ),
SITEORIGIN_PANELS_VERSION
);
}
}
/**
* Display the actual widget
*/
public function dashboard_overview_widget() {
$feeds = array(
array(
'url' => 'https://siteorigin.com/feed/',
'items' => 4,
'show_summary' => 0,
'show_author' => 0,
'show_date' => 1,
),
);
wp_dashboard_primary_output( 'so_dashboard_widget_news', $feeds );
if ( function_exists( 'wp_print_community_events_markup' ) ) {
?>