simcal_add_<option_group>_<id>_sections

Add sections.

Description

apply_filters( 'simcal_add_<option_group>_<id>_sections', (unknown) $sections ); 

Parameters (1)

0. $sections (unknown)
The sections.

Usage

To run the hook, copy the example below.
  1. $sections = apply_filters( 'simcal_add_{$option_group}_{$id}_sections', $sections ); 
  2.  
  3. if ( !empty( $sections ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the simcal_add_<option_group>_<id>_sections callback 
  2. function filter_simcal_add_option_group_id_sections( $sections ) { 
  3. // make filter magic happen here... 
  4. return $sections
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "simcal_add_{$option_group}_{$id}_sections", 'filter_simcal_add_option_group_id_sections', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "simcal_add_{$option_group}_{$id}_sections", 'filter_simcal_add_option_group_id_sections', 10, 1 ); 

Defined (4)

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

/includes/admin/pages/licenses.php  
  1. return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); 
/includes/admin/pages/feeds.php  
  1. return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); 
/includes/admin/pages/calendars.php  
  1. return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); 
/includes/admin/pages/advanced.php  
  1. return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', array(