jetpack_long_module_description

Filter the long description of a module.

Description

apply_filters( 'jetpack_long_module_description', $ob_get_clean, (string) $module ); 

Parameters (2)

0. $ob_get_clean
Ob_get_clean() The module long description.
1. $module (string)
The module name.

Usage

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

Defined (1)

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

/class.jetpack-admin.php  
  1. $module_array['long_description'] = apply_filters( 'jetpack_long_module_description', ob_get_clean(), $module );