Title: JSON Location Hook
Last modified: April 7, 2024

---

# JSON Location Hook

 *  Resolved [jlcarbwood](https://wordpress.org/support/users/jlcarbwood/)
 * (@jlcarbwood)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/json-location-hook/)
 * I was wondering how “gravityforms_local_json_save_path” hook. I’m trying to change
   the location where the JSON are saved. Any sample will appreciated.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/json-location-hook/#post-17680129)
 * Hi, thanks for trying my plugin. Here’s an example that changes the path to save.
   json files to one level above the directory containing WordPress.
 *     ```wp-block-code
       <?php
       add_filter( 'gravityforms_local_json_save_path', 'power_boost_change_json_path' );
       /**
        * Changes the path to save .json files to one level above the directory containing WordPress.
        *
        * @return string
        */
       function power_boost_change_json_path() {
       	return dirname( ABSPATH );
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘JSON Location Hook’ is closed to new replies.

 * ![](https://ps.w.org/power-boost-for-gravity-forms/assets/icon.svg?rev=2631034)
 * [Power Boost for Gravity Forms](https://wordpress.org/plugins/power-boost-for-gravity-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/power-boost-for-gravity-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/power-boost-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/power-boost-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/power-boost-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/power-boost-for-gravity-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/json-location-hook/#post-17680129)
 * Status: resolved