thematic_post

The MangoMatic (Responsive) thematic post hook.

Description

apply_filters( 'thematic_post', $get_the_excerpt ); 

Parameters (1)

0. $get_the_excerpt
The get the excerpt.

Usage

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

Defined (6)

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

/functions.php  
  1. echo apply_filters('thematic_post', get_the_excerpt()); 
  1. <?php echo apply_filters('thematic_post', get_the_excerpt());?> 
  1. <?php echo apply_filters('thematic_post', get_the_excerpt());?> 
  1. <?php echo apply_filters('thematic_post', get_the_excerpt());?> 
  1. <?php echo apply_filters('thematic_post', get_the_excerpt());?> 
  1. <?php echo apply_filters('thematic_post', get_the_excerpt());?>