Description
This filter allows you to enable / disable the ‘Export Location Data’ option shown on the location pages in the admin area.
This option was included to make it easier to deal with possible GDPR data access requests. If the button is enabled, then it will generate a CSV file holding all the location details.
Usage
This code will hide the ‘Export Location Option’ from the location pages in the admin area.
Changelog
Since 2.2.15
Source File
This filter is located in /admin/class-metaboxes.php.
Placement
The code needs to be placed in the functions.php file inside your active theme folder.