NF_System_Status

NF_System_Status Class.

Defined (1)

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

/deprecated/includes/classes/class-nf-system-status.php  
  1. class NF_System_Status { 
  2.  
  3. /** 
  4. * Initializes the class 
  5. */ 
  6. public function __construct() { 
  7. // register the system status page 
  8. add_action('admin_init', array($this, 'ninja_forms_register_tab_system_status')); 
  9.  
  10. /** 
  11. * Handles output of the reports page in admin. 
  12. */ 
  13. public function ninja_forms_register_tab_system_status() { 
  14. // include the file 
  15. require_once( NINJA_FORMS_DIR . "/includes/admin/pages/system-status.php" ); 
  16.  
  17. // add the arugements 
  18. $args = array( 
  19. 'name' => __( 'Ninja Forms System Status', 'ninja-forms' ),  
  20. 'page' => 'ninja-forms-system-status',  
  21. 'display_function' => 'ninja_forms_tab_system_status',  
  22. 'save_function' => '',  
  23. 'show_save' => false,  
  24. ); 
  25.  
  26. // register the tab 
  27. ninja_forms_register_tab('system_status', $args); 
  28.