simcal_get_field

Get a field.

Description

(null|SimpleCalendarAbstractsField) simcal_get_field( (array) $args, (string) $name = '' ); 

Returns (null|SimpleCalendarAbstractsField)

Parameters (2)

0. $args (array)
The args.
1. $name — Optional. (string) => ''
The name.

Usage

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

Defined (1)

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

/includes/functions/admin.php