website logo
Go back to WP Go Maps
⌘K
Atlas Novus (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Legacy (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Integrations
Developers
Hooks
Docs powered byΒ archbeeΒ 
3min

wpgmza_global_settings_save_redux

Add additional settings storage handling, or modify existing settings before storing them to the database.

Source

PHP
|
ο»Ώ

Arguments

  • $data : The data to be saved to the settings object (array)

Requirements

  • Must return $data with your changes/additions in place

Files

  • includes/class.settings-page.php

Why Redux? The preferred method of storage is by adding directly to the DOM with the relevant field names in place. Our core should handle this as expected.

ο»Ώ

With that said, some developers require more specific storage handling, this hook replaces a legacy hook which allowed for custom storage logic to be adhered to.

ο»Ώ

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
wpgmza_global_settings_tab_content
Docs powered byΒ archbeeΒ