it’s not possible since new post not set to category.
except, you need to create new post first assigned with selected category.
so just create function that create new post on button click.
the problem is you will find many empty post if user play with that link
to create dashboard widget you can check offical docs wp_add_dashboard_widget
Related Posts:
- How can I fix fatal RevSlider error in dashboard after upgrading to PHP 7? [closed]
- How to remove these fields from the ‘Profile’ section?
- Determining WordPress’ Version from the Host’s Command Line?
- Hide dashboard from non-admin users
- How can I change the dashboard appearance?
- Custom Role does not have access to dashboard
- Remove Visual Composer Tab from Dashboard Menu [closed]
- Disable “Blogroll” or “WordPress Dashboard News” section in WordPress v.4.1?
- Local wordpress setup with SPAM in the incoming links dashboard section?
- Dashboard says “no posts found” even though there are some posts
- How do I disable dashboard update notifications for subscribers?
- How to redirect non admins to homepage if trying to view mysite.com/wp-admin/?
- Custom wp_welcome_panel for every role or custom dashboard
- WordPress dashboard is slooow. Front end is fast
- How can I hide certain submenus of the Settings tab in the dashboard?
- How do I create a section in the dashboard w/ an input field
- Hooking into add_submenu_page
- Can I limit this meta box to a particular page?
- WSOD for admin when using PHP 7
- How to write files in hosting in admin dashboard?
- global $wp_meta_boxes returns NULL
- How to fix WordPress dashboard screen option & help button, it’s not working
- How to Display posts thumbnail in dashboard all posts row in first column?
- How to remove “WordPress News” feed downloading?
- What happened to the WordPress dashboard?
- Move “Menus” link from Appearance > Menus to its own tab on left column Dashboard
- Video tutorials in Dashboard
- How do I create a section in the dashboard w/ an input field
- Browser loading content from Twitter in admin area?
- Hide widgets/plugins from dashboard
- How to see wp-config file from WordPress dashboard?
- Hide the wp-admin bar from dashboard
- Edit/remove wp_dashboard_recent_drafts()
- Does the 3.4.2 Dashboard have Chrome Frame headers?
- WordPress Dashboards: slowness and timeouts
- Login as non-admin user removes Dashboard submenu. I wish to re-enable it
- How can I change a submenu-item in the WordPress-dashboard to a mainmenu-item?
- Pending Post review notification for contributors
- Can’t sort Posts in wordpress Dashbaord
- wordpress dashboard is too slow . its same pages are taking 10 min approx
- Remove add_menu()’s second argument from it’s submenus list
- Can you navigate away from the updates screen during an update?
- read excel file in the dasboard programmatically
- Can’t access dashboard
- Possible to have mutiple rows for each post/page in the admin table listing?
- “Appearance > Editor” missing from clean WP install [closed]
- Force 3 Column Dashboard Widgets
- Limit scripts and styles on dashboard for user role
- Create Post Using Form on WP Dashboard
- How to use the ‘Quick edit’ option only for Admin and Editor in ‘All posts’ on the Dashboard?
- Dashboard memory overload problem
- Including a custom options page causes “Pages” to disappear from dashboard menu
- WordPress dashboard + website are totally messed up [closed]
- WordPress Dashboard – Restricting Access
- add different stylesheet file to edit themes file list [duplicate]
- Cannot access dashboard after upgrading to 3.5
- Wp backend page content not showing, but actual page is fine
- how can I go about creating a dashboard in the post section of wordpress admin
- Add dashboard widget to page created with add_menu_page()?
- Customizing the dashboard page or post overview
- Add custom row to welcoming in dashboard
- Why does adding a dashboard widget in includes/admin.php fail?
- Home Dashboard Screen Options always change
- How to hide the tags “all, publish, thrash, draft, pending” for authors posts but not for the administrator?
- How to remove: Notice: You’re using the auto-generated password for your account. Would you like to change it? [closed]
- WP_HOME (and WP_URL) are undefined
- Can’t Access The Dashboard Functions
- redirect from /members/front to /members/custom
- Why Do Pages Always Work Aa Expected When Logged Into The Dashboard?
- Backend/dashboard not visible after admin login
- How to modifiy default ‘All Pages’ in Dashboard into a Tree View(Collapsible child pages)
- change the words “WordPress running on theme” in “At a glance”,especially the link “theme.php”
- Unable to find interface that lets me edit text on the front page
- Good way to remove unnecessary stuff from dashboard?
- WP Dashboard video modal on load
- How do i add a unique body class to the wordpress dashboard’s home page?
- Want to remove WP welcome panel
- Saving Embed Code From Dashboard Widget
- Cannot make changes on Dashboard
- Term Meta – saving multiple values in one form with select options
- Empty Dashboard in WordPress
- How can I remove these options from the dashboard?
- Possible to manually force update to latest WordPress?
- Add Inline Styles In WP Dashboard
- Different site languages for different users
- Which plugin could minify the Dashboard? [closed]
- After Login into Admin Panel, Dashboard is blank
- How to add custom field to wordpress page everytime user uploads new image in WP visual editor?
- change the Dashboard menu items label wp
- How to move plugin link from left navigation to a different location?
- The Admin Dashboard Div
- how to change only the language of dashboard [duplicate]
- Dashboard Menu settings
- Jetpack Connection Broken [closed]
- Mysteriously Slow WordPress Dashboard – No Slow Queries [closed]
- Show custom messages on dashboard menu page
- Editing wordpress dashboard
- Change links behind buttons in admin dashboard
- In WordPress dashboard, how to open link in new tab, in priority for pages/posts : open “Edit with Elementor” and “Edit” (with WordPress) in new tab
- How to add a link under plugin title in plugins page in dashboard