smarty_modifier_markdown

The Pods - Custom Content Types and Fields smarty modifier markdown function.

Description

smarty_modifier_markdown( $text ); 

Parameters (1)

0. $text
The text.

Usage

  1. if ( !function_exists( 'smarty_modifier_markdown' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/components/Markdown.php'; 
  3.  
  4. // The text. 
  5. $text = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = smarty_modifier_markdown($text); 
  9.  

Defined (1)

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

/components/Markdown.php  
  1. function smarty_modifier_markdown($text) { 
  2. return Markdown($text);