easy_markdown_support_url

Filter the Markdown support URL.

Description

apply_filters( 'easy_markdown_support_url', (string) $http_en_support_wordpress_com_markdown_quick_reference ); 

Parameters (1)

0. $http_en_support_wordpress_com_markdown_quick_reference (string) => 'http://en.support.wordpress.com/markdown-quick-reference/'
The http en support wordpress com markdown quick reference.

Usage

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

Defined (1)

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

/modules/markdown/easy-markdown.php  
  1. return apply_filters( 'easy_markdown_support_url', 'http://en.support.wordpress.com/markdown-quick-reference/' );