jetpack_markdown_posting_always_on

Remove checkbox set in modules/markdown/easy-markdown.php.

Description

jetpack_markdown_posting_always_on(); 

Usage

  1. if ( !function_exists( 'jetpack_markdown_posting_always_on' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/markdown.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_markdown_posting_always_on(); 
  7.  

Defined (1)

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

/modules/markdown.php  
  1. function jetpack_markdown_posting_always_on() { 
  2. // why oh why isn't there a remove_settings_field? 
  3. global $wp_settings_fields; 
  4. if ( isset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] ) ) { 
  5. unset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] );