Skip to content

Commit c92d23f

Browse files
authored
Added Usage to Snippet Header
1 parent 8b460b7 commit c92d23f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gp-read-only/gpro-disable-for-admins.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
* Disable the Read Only property on fields for Admin users.
77
* This is useful when wanting to allow administrative users to edit fields that non-admins should not be able to edit.
88
*
9+
* Usage:
10+
*
11+
* 1. Install this code as a plugin or as a snippet.
12+
* 2. Add the `gp-read-only-except-admin` CSS Class Name to field's Custom CSS Class setting.
13+
*
914
* Plugin Name: GP Read Only — Disable Read Only for Admins
1015
* Plugin URI: https://gravitywiz.com/documentation/gravity-forms-read-only/
1116
* Description: This snippet allows you to disbale the Read Only property on fields for Admin users.

0 commit comments

Comments
 (0)