Title: PHP Code Keeper for Gravity Forms
Author: uamv
Published: <strong>2022년 2월 18일</strong>
Last modified: 2025년 1월 23일

---

플러그인 검색

![](https://ps.w.org/custom-code-keeper/assets/banner-772x250.png?rev=2681608)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/custom-code-keeper/assets/icon-256x256.png?rev=3227705)

# PHP Code Keeper for Gravity Forms

 작성자: [uamv](https://profiles.wordpress.org/uamv/)

[다운로드](https://downloads.wordpress.org/plugin/custom-code-keeper.3.1.zip)

 * [세부사항](https://ko.wordpress.org/plugins/custom-code-keeper/#description)
 * [평가](https://ko.wordpress.org/plugins/custom-code-keeper/#reviews)
 * [개발](https://ko.wordpress.org/plugins/custom-code-keeper/#developers)

 [지원](https://wordpress.org/support/plugin/custom-code-keeper/)

## 설명

#### How does it work?

PHP Code Keeper for Gravity Forms…

 * creates a directory at `wp-content/uploads/gravity_hopper/code/`.
 * adds a file `gf-global-code.php` _(for housing globally run code)_.
 * optionally creates/duplicates/deletes a `gf-00xx.php` file for every form created/
   duplicated/deleted. _(for housing form-specific code)_
 * will load all files in the code directory associated with an existing form or
   having prefix that has been explicitly allowed.
 * allows exporting any number of code files to compressed .zip.
 * introduces pages in the Gravity Forms interface whereby you can manage custom
   PHP code.

**Code Keeper does not restrict when specific files are included on the site. All
code from allowed files residing in the `gravity_hopper/code/` directory will run
for all forms. Always use appropriate hooks and/or conditional checks when targeting
specific forms and fields.**

#### Why use it?

PHP Code Keeper provides orderliness to your code customizations, gives you a better
sense of the specific code running across your site, and helps ensure your customizations
are not lost when other site modifications are made.

Learn more in the walk-through article _[What is PHP Code Keeper for Gravity Forms?](https://orbitalforge.com/custom-code-keeper-for-gravity-forms/)_

#### Need more for your Gravity Forms development?

Saving you time and effort with every form you build, **[Orbital Forge](https://orbitalforge.com)**
offers an elite array of builder tools that integrates seamlessly with Gravity Forms.

## FAQ

### Does PHP Code Keeper load custom code per form?

No. This plugin is intended for code wrangling only and does not restrict when code
is run. All code from allowed files residing in the `gravity_hopper/code/` directory
will run for all forms. Always use appropriate hooks and/or conditional checks when
targeting specific forms and fields.

### Can I edit the custom code from within my WordPress dashboard?

Yes! Create, edit, and delete files via **Forms  Code** and **Form  Settings  Code
Keep**

You can also add a link to open the files directly in your preferred code editor
using the filter `gravityhopper-cck/opoen_file_uri`.

    ```
    `
    ```

add_filter( ‘gravityhopper-cck/open_file_uri’, function( $uri, $filename ) {
 return
array( ‘app’ => ‘VS Code’, ‘protocol’ => ‘vscode:/’, ‘path’ => $filename ); }, 10,
2 ); `

### How are files loaded?

Allowed files within the directory `gravity_hopper/code/` of your uploads directory
will be loaded.

The file `gf-global-code.php` will always be loaded and will be loaded before other
files.

Any files matching prefix patterns allowed via the filter `gravityhopper-cck/allowed_file_prefixes`
will be loaded in the order they appear in that filtered array.

Finally, any form-specific files named using the convention `gform-00xx.php` will
be loaded next, provided a form matching the ID exists on the site.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“PHP Code Keeper for Gravity Forms”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이
이 플러그인에 기여하였습니다.

기여자

 *   [ uamv ](https://profiles.wordpress.org/uamv/)

[자국어로 “PHP Code Keeper for Gravity Forms”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/custom-code-keeper)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/custom-code-keeper/)는,
[SVN 저장소](https://plugins.svn.wordpress.org/custom-code-keeper/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/custom-code-keeper/)을 [RSS](https://plugins.trac.wordpress.org/log/custom-code-keeper/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 3.1 // 2025.01-Jan.23

📦 NEW: Adds `gravityhopper-cck/open_file_uri` filter
 📖 DOC: Rebrands authorship
to Orbital Forge

#### 3.0.1 // 2024.11-Nov.01

✨ IMPROVE: Remove unnecessary logging
 ✨ IMPROVE: Adjust height of editor to ensure
visibility of last line

#### 3.0 // 2024.06-Jun.19

📦 NEW: Allows file editing and management via UI
 📦 NEW: Adds integration with
Gravity Hopper: Keyboard Shortcut module

#### 2.3.1 // 2022.11-Nov.10

✨ IMPROVE: Performance in checking files to load
 📖 DOC: Tested up to 6.1

#### 2.3 // 2022.03-Mar.08

🐛 FIX: Load on `init` rather than `gform_loaded` to prevent form breakage
 ✨ IMPROVE:
Consolidates multiple calls to GFAPI::get_forms() ✨ IMPROVE: Adds more details 
to system report 📖 DOC: Simplifies readme file

#### 2.2.2 // 2022.02-Feb.18

🚀 RELEASE: renaming the plugin

#### 2.2.1 // 2022.02-Feb.15

📖 DOC: formats readme file

#### 2.2 // 2022.02-Feb.15

🚀 RELEASE: Initial public launch

## 기초

 *  버전 **3.1**
 *  최근 업데이트: **2년 전**
 *  활성화된 설치 **20+**
 *  워드프레스 버전 ** 5.6 또는 그 이상 **
 *  다음까지 시험됨: **6.7.7**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/custom-code-keeper/)
 * 태그:
 * [code](https://ko.wordpress.org/plugins/tags/code/)[developer](https://ko.wordpress.org/plugins/tags/developer/)
   [gravity](https://ko.wordpress.org/plugins/tags/gravity/)[php](https://ko.wordpress.org/plugins/tags/php/)
 *  [고급 보기](https://ko.wordpress.org/plugins/custom-code-keeper/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/custom-code-keeper/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/custom-code-keeper/reviews/)

## 기여자

 *   [ uamv ](https://profiles.wordpress.org/uamv/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/custom-code-keeper/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://typewheel.xyz/give/?via=GH-CCK)