showing the export page for editors

This commit is contained in:
Antoine M 2025-03-04 16:16:26 +01:00
parent 464ec01f2b
commit 9c8d6821a5

View File

@ -8,7 +8,7 @@ function export_datas_page_in_menu()
add_menu_page(
'Export de données', // page <title>Title</title>
'Export', // link text
'manage_options', // user capabilities
'edit_posts', // user capabilities
'export_datas', // page slug
'export_datas_page_callback', // this function prints the page content
'dashicons-external', // icon (from Dashicons for example)