![]() |
GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
| __construct () | |
| add_select ( $form_id, $entry) | |
| Output select element used to change the entry creator. More... | |
| assign_new_user_to_lead ( $user_id, $config, $entry=array(), $password='') | |
| When an user is created using the User Registration add-on, assign the entry to them. More... | |
| enqueue_selectwoo_assets () | |
| Enqueue selectWoo script and style. More... | |
| entry_creator_get_users () | |
| Get users list for entry creator. More... | |
| load () | |
| prevent_conflicts () | |
| Disable previous functionality; use this one as the canonical. More... | |
| register_gform_noconflict ( $assets) | |
| Allow UI assets. More... | |
| set_screen_mode () | |
| Allows for edit links to work with a link instead of a form (GET instead of POST) More... | |
| update_entry_creator ( $form, $entry_id) | |
| When the entry creator is changed, add a note to the entry. More... | |
Data Fields | |
| const | DEFAULT_NUMBER_OF_USERS = 100 |
Definition at line 6 of file class-gravityview-change-entry-creator.php.
| __construct | ( | ) |
gravityview_disable_change_entry_creator Disable the Change Entry Creator functionality | boolean | $disable | Disable the Change Entry Creator functionality. Default: false. |
Use init to fix bbPress warning
Definition at line 13 of file class-gravityview-change-entry-creator.php.
| add_select | ( | $form_id, | |
| $entry | |||
| ) |
Output select element used to change the entry creator.
| int | $form_id | GF Form ID |
| array | $entry | GF entry array |
Definition at line 311 of file class-gravityview-change-entry-creator.php.
References $entry, $output, $user, Utils\get(), and GVCommon\get_users().
| assign_new_user_to_lead | ( | $user_id, | |
| $config, | |||
$entry = array(), |
|||
$password = '' |
|||
| ) |
When an user is created using the User Registration add-on, assign the entry to them.
| int | $user_id | WordPress User ID |
| array | $config | User registration feed configuration |
| array | $entry | GF Entry array |
| string | $password | User password |
created_by field Disable assigning the new user to the entry by returning false.
| int | $user_id | WordPress User ID |
| array | $config | User registration feed configuration |
| array | $entry | GF Entry array |
gravityview_disable_change_entry_creator_note Disable adding a note when changing the entry creator | boolean | $disable | Disable the Change Entry Creator note. Default: false. |
Definition at line 144 of file class-gravityview-change-entry-creator.php.
References $entry, GravityView_Entry_Notes\add_note(), and gravityview().
| enqueue_selectwoo_assets | ( | ) |
Enqueue selectWoo script and style.
Definition at line 57 of file class-gravityview-change-entry-creator.php.
References Plugin\$version, gravityview(), and GRAVITYVIEW_FILE.
| entry_creator_get_users | ( | ) |
Get users list for entry creator.
Definition at line 100 of file class-gravityview-change-entry-creator.php.
References GVCommon\get_users().
| load | ( | ) |
Definition at line 205 of file class-gravityview-change-entry-creator.php.
References GVCommon\has_cap().
| prevent_conflicts | ( | ) |
Disable previous functionality; use this one as the canonical.
Definition at line 192 of file class-gravityview-change-entry-creator.php.
| register_gform_noconflict | ( | $assets | ) |
Allow UI assets.
| array | $assets |
Definition at line 368 of file class-gravityview-change-entry-creator.php.
| set_screen_mode | ( | ) |
Allows for edit links to work with a link instead of a form (GET instead of POST)
Definition at line 236 of file class-gravityview-change-entry-creator.php.
| update_entry_creator | ( | $form, | |
| $entry_id | |||
| ) |
When the entry creator is changed, add a note to the entry.
| array | $form | GF entry array |
| int | $entry_id | Entry ID |
Definition at line 256 of file class-gravityview-change-entry-creator.php.
References $created_by, Utils\_POST(), and GravityView_Entry_Notes\add_note().
| const DEFAULT_NUMBER_OF_USERS = 100 |
Definition at line 11 of file class-gravityview-change-entry-creator.php.