gf_entryexpiration_delete_old_entries_action

Deletes old Gravity Forms entries.

Description

(object) gf_entryexpiration_delete_old_entries_action(); 

Returns (object)

GFEntryExpiration


Usage

  1. if ( !function_exists( 'gf_entryexpiration_delete_old_entries_action' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'gravity-forms-entry-expiration/entryexpiration.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gf_entryexpiration_delete_old_entries_action(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/entryexpiration.php  
  1. function gf_entryexpiration_delete_old_entries_action() { 
  2.  
  3. // Load Entry Expiration class. 
  4.  
  5. return gf_entryexpiration()->delete_old_entries(); 
  6.