acf/pre_save_json_file

acf/pre_save_json_file

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.1.4

apply_filters('acf/pre_save_json_file') is found 1 times:

  • /includes/local-json.php line 110
    			 * @since 6.1
    			 *
    			 * @param array $post The main ACF post array
    			 */
    			$post = apply_filters( 'acf/pre_save_json_file', $post );
    
    			return $this->save_file( $post['key'], $post );
    		}
    
    		/**
    		 * Deletes a field group JSON file.