jetpack_photon_support_text_widgets

Jetpack Photon - Support Text Widgets.

Description

(string) jetpack_photon_support_text_widgets( (string) $content ); 

Returns (string)

Parameters (1)

0. $content (string)
Content from text widget.

Usage

  1. if ( !function_exists( 'jetpack_photon_support_text_widgets' ) ) { 
  2. require_once '/functions.photon.php'; 
  3.  
  4. // Content from text widget. 
  5. $content = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jetpack_photon_support_text_widgets($content); 
  9.  

Defined (1)

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

/functions.photon.php  
  1. function jetpack_photon_support_text_widgets( $content ) { 
  2. if ( class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) { 
  3. return Jetpack_Photon::filter_the_content( $content ); 
  4. return $content;