From 9af15d7b119f5fafb848963281a9297ca2da3d32 Mon Sep 17 00:00:00 2001 From: UnderstrapFramework <54932057+UnderstrapFramework@users.noreply.github.com> Date: Fri, 13 Dec 2019 11:57:02 +0000 Subject: [PATCH] Update wp-admin.php --- inc/wp-admin.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/inc/wp-admin.php b/inc/wp-admin.php index 4f1e1fe..2304e9a 100644 --- a/inc/wp-admin.php +++ b/inc/wp-admin.php @@ -6,9 +6,14 @@ */ -/* UnderStrap news dashboard widget */ +/* Actions etc. */ -add_action( 'wp_dashboard_setup', 'understrap_dashboard_news_meta_box' ); +add_action('wp_dashboard_setup', 'understrap_dashboard_news_meta_box'); +add_action('admin_menu', 'understap_overstrap_menu'); + + + +/* UnderStrap news dashboard widget */ function understrap_dashboard_news_meta_box(){ add_meta_box('understrap-news', 'UnderStrap News', 'understrap_news_widget_render', 'dashboard', 'side', 'high' ); @@ -69,3 +74,56 @@ function understrap_news_widget_render(){ + + +
Find out more about the premium starter child theme pack that works on top of UnderStrap. OverStrap follows the same principles as UnderStrap but saves you countless hours of development time.
+ + Learn More + +Ready to buy the pack? Go straight to the GumRoad product page:
+ + Buy Now + + + +