thanks @birgire with your help i change the code to make this work.
everyone that looking for the same solution you can use this code:
add_action( 'load-index.php', 'show_welcome_panel' );
function show_welcome_panel() {
$user_id = get_current_user_id();
if ( 1 != get_user_meta( $user_id, 'show_welcome_panel', true ) )
update_user_meta( $user_id, 'show_welcome_panel', 1 );
}
Related Posts:
- Changing Admin Menu Labels
- Remove dashboard, use Pages tab as default
- Add “external” link to admin menu in the backend
- How to display the user that published a pending post?
- How to remove the site health dashboard widget?
- Copy my user account’s wp-admin dashboard layout to other users?
- Make sub menu items a main link in the admin menu using fuctions.php
- How to disable or hide “collapse menu”
- Dashboard links not working
- Removing admin bar from wordpress dashboard
- Can’t access dashboard, connection times out (other pages work fine)
- wp-admin does not redirect to dashboard
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- Custom WordPress Dashboard for Specific user role
- Show Welcome Panel on Dashboard for every user
- Prevent /wp-admin/ from redirecting to homepage?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Create a fullwidth dashboard widget
- Locked Out Of WordPress Admin Dashboard After Server Move
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- WP-Admin shows (1) update but there is no update for plugin, theme or WordPress
- White screen of death in Dashboard after clean installation
- How do I let logged out users see the dashboard?
- How can I replace dashboard.css and dashboard.min.css (not add new css)
- WP admin user search doesn’t return all users
- can not access wp-admin after migrating to openshift
- How do you force the wordpress dashboard to be 1 coulmn by default?
- How to remove dashboard access (wp-admin) for author but not disable the capabilities?
- Dashboard Widget CSS
- Admin top level menu, pointing to an external url
- how can I change the font on Edit Post area (admin dashboard)
- Dashboard : remove Safari navigator message
- Move WooCommerce menu entries to top of dashboard
- Change maxlength of link_description in dashbord link section?
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Broken Customizer page
- I can’t access my wp admin dashboard
- Step by step guide for new users on how to post content?
- How to log into WordPress via GET/POST
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Getting 404s in wp-admin after logged in
- Admin section showing CUSTOM Permalink structure thus resulting in permission error [closed]
- Unable to access dashboard (wp-admin) only
- Launch wordpress site to local computer from live website backed-up
- All of my WordPress sites have Bold Open Sans
- How to make the Panel // WP-Admin lighter via Mobile
- How can you change the admin dashboard URL without symlinking?
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- Looking for a hook to add attachment information to the media library tab
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Can’t access wp-admin Internal Server Error 500
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Just how ‘expensive’ is this function?
- Custom Background-Image not showing up
- admin_url in plugins
- cannot find the login page for local WordPress site
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- White screen of death on admin and other dashboard pages
- TinyMCE strips breaks inside editor
- Can I hook into wp_update_core outside of the admin?
- /wp-admin/ doesn’t work but /admin/ does
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Editing edit-tags.php page in wp-admin
- What is the correct way to get only display plugin for Administrator Only
- displaying an error before update_post_meta
- How to break line / add to ADMIN menu
- WP admin style not refreshing
- WordPress admin page not found error
- Outputting something based on the presence of post variable in admin screens
- Use of domain name
- “Add New” button on custom post type grid
- Where is function to prevents non logged users access wp-admin?
- CSS of the admin panel
- WordPress admin right sidebar isn’t working
- WordPress menu to change page title
- wp-admin blocking causing http error on uploads
- DISALLOW_FILE_EDIT is false but I still am not able to edit files from the admin interface and the menus do not show up
- What hooks should you use to create a table only once?
- Custom admin menu order fails if slugs are complicated
- Cant access wp-admin
- WordPress wp-admin Page
- How can I trigger a javascript function after a post update on edit post screen in wordpress admin panel?
- restrict admin panel sections to users
- how to set not to be logined in wp-admin except administrator?
- CSRF attack to create USER
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- WordPress Login for multiple sites
- Blank sign in page
- Action for opening edit page in admin?
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?