simcal_get_admin_page

Get a settings page tab.

Description

(null|SimpleCalendarAbstractsAdmin_Page) simcal_get_admin_page( (string) $page ); 

Returns (null|SimpleCalendarAbstractsAdmin_Page)

Parameters (1)

0. $page (string)
The page.

Usage

  1. if ( !function_exists( 'simcal_get_admin_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/includes/functions/admin.php'; 
  3.  
  4. // The page. 
  5. $page = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = simcal_get_admin_page($page); 
  9.  

Defined (1)

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

/includes/functions/admin.php