jetpack_my_community_init

If site is connected to WordPress.com, register the widget.

Description

jetpack_my_community_init(); 

Usage

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

Defined (1)

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

/modules/widgets/my-community.php  
  1. function jetpack_my_community_init() { 
  2. if ( Jetpack::is_active() ) { 
  3. register_widget( 'Jetpack_My_Community_Widget' );