I have customised the welcome panel on the dashboard for users with information in. I then hid the "Dismiss" button and added CSS to make the welcome panel always visible. Using the 'welcome_panel' hook.
This works fine for Admins but the Welcome Panel is not displayed for other users such as editors and authors. Its not that the admin panel is being hidden its not included in the source code.
I need to find a way to include the welcome panel code for every user not just admins.
Just found the following in wp-admin/index.php
. So it will only show if user can edit_theme_options.
<?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
Is there a way to edit this or call the do_action( 'welcome_panel' ); even if the user cannot edit_theme_options?