Why is my 'export' option missing?

My tools>export option has vanished - even when reverting to the default TwentySeventeen theme.

Direct access to /wp-admin/export.php delivers 'Sorry, you are not allowed to access this page.' I'm wondering 'why', and what the fix is.

UPDATE...

I restored the missing option by adding this to functions: $admin_role = get_role( 'administrator' ); $admin_role-add_cap( 'export', true );

And now, even when that code is commented-out, 'export' is available.

I don't pretend to understand why.

Topic wp-admin export Wordpress

Category Web


I was going through the same problem. I wanted to export content from my free WordPress site to my new self-hosted WordPress site. But I couldn't see the export option in my setting. All you have to do is get support from wordpress itself. You can get detailed information here https://wordpress.com/support/export/

To directly export, click on this link https://wordpress.com/export

Hope this helps!

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.