33 add_action(
'gravityview/edit-entry/render/before',
function() {
34 add_filter(
'gform_partialentries_warning_message',
'__return_empty_string' );
37 add_action(
'gravityview/edit-entry/render/after',
function() {
38 remove_filter(
'gform_partialentries_warning_message',
'__return_empty_string' );
41 add_action(
'gravityview/edit_entry/after_update', array( $this,
'maybe_save_partial_entry' ), 10, 3 );
59 if ( ! class_exists(
'GF_Partial_Entries' ) ) {
63 $partial_entries_addon = GF_Partial_Entries::get_instance();
65 $feed_settings = $partial_entries_addon->get_feed_settings(
$form[
'id'] );
69 if ( ! $is_enabled ) {
73 $entry = $edit_entry_render->get_entry();
77 if ( empty( $partial_entry_id ) ) {
82 $_POST[
'partial_entry_id'] = $partial_entry_id;
84 gravityview()->log->debug(
'Saving partial entry (ID #{partial_entry_id}) for Entry #{entry_id}', array(
85 'partial_entry_id' => $partial_entry_id,
86 'entry_id' => $entry_id
89 $partial_entries_addon->maybe_save_partial_entry(
$form[
'id'] );
if(gravityview() ->plugin->is_GF_25()) $form
static get( $array, $key, $default=null)
Grab a value from an array or an object or default.
gravityview()
The main GravityView wrapper function.
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...