NF_Admin_Menus_Dashboard

The Ninja Forms NF Admin Menus Dashboard class.

Defined (1)

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

/includes/Admin/Menus/Dashboard.php  
  1. final class NF_Admin_Menus_Dashboard extends NF_Abstracts_Submenu 
  2. public $parent_slug = 'ninja-forms'; 
  3.  
  4. public $page_title = 'Dashboard'; 
  5.  
  6. public $menu_slug = 'ninja-forms'; 
  7.  
  8. public $priority = 1; 
  9.  
  10. public function __construct() 
  11. parent::__construct(); 
  12.  
  13. public function get_page_title() 
  14. if( isset( $_GET[ 'form_id' ] ) ) { 
  15. return __( 'Form Builder', 'ninja-forms' ); 
  16. return __( 'Dashboard', 'ninja-forms' ); 
  17.  
  18. public function get_capability() 
  19. return apply_filters( 'ninja_forms_admin_all_forms_capabilities', $this->capability ); 
  20.  
  21. public function display() 
  22. // This section intentionally left blank. 
  23.  
  24. } // End Class NF_Admin_Settings