upcoming_events_register_widgets

The WordPress Core upcoming events register widgets function.

Description

upcoming_events_register_widgets(); 

Usage

  1. if ( !function_exists( 'upcoming_events_register_widgets' ) ) { 
  2. require_once '/modules/widgets/upcoming-events.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = upcoming_events_register_widgets(); 
  7.  

Defined (1)

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

/modules/widgets/upcoming-events.php  
  1. function upcoming_events_register_widgets() { 
  2. register_widget( 'Jetpack_Upcoming_Events_Widget' );