safecss_post_title

The Jetpack by WordPress.com safecss post title function.

Description

safecss_post_title( $title, $post_id ); 

Parameters (2)

0. $title
The title.
1. $post_id
The post id.

Usage

  1. if ( !function_exists( 'safecss_post_title' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/custom-css/custom-css.php'; 
  3.  
  4. // The title. 
  5. $title = null; 
  6.  
  7. // The post id. 
  8. $post_id = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = safecss_post_title($title, $post_id); 
  12.  

Defined (1)

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

/modules/custom-css/custom-css.php  
  1. function safecss_post_title( $title, $post_id ) { 
  2. _deprecated_function( __FUNCTION__, '2.1', 'Jetpack_Custom_CSS::post_title()' ); 
  3.  
  4. return Jetpack_Custom_CSS::post_title( $title, $post_id );