1. Description
  2. Usage
  3. Changelog
  4. Source File
  5. Related


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.


This code will hide the ‘Export Location Option’ from the location pages in the admin area.


Since 2.2.15

Source File

This filter is located in /admin/class-metaboxes.php.


The code needs to be placed in the functions.php file inside your active theme folder.