jetpack_mobile_save_css_settings

The Jetpack by WordPress.com jetpack mobile save css settings function.

Description

jetpack_mobile_save_css_settings(); 

Usage

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

Defined (1)

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

/modules/minileven/minileven.php  
  1. function jetpack_mobile_save_css_settings() { 
  2. update_option( 'wp_mobile_custom_css', isset( $_POST['mobile_css'] ) && ! empty( $_POST['mobile_css'] ) );