safecss_revision_post_link

The Jetpack by WordPress.com safecss revision post link function.

Description

safecss_revision_post_link( $post_link, $post_id, $context ); 

Parameters (3)

0. $post_link
The post link.
1. $post_id
The post id.
2. $context
The context.

Usage

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

Defined (1)

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

/modules/custom-css/custom-css.php  
  1. function safecss_revision_post_link( $post_link, $post_id, $context ) { 
  2. _deprecated_function( __FUNCTION__, '2.1', 'Jetpack_Custom_CSS::revision_post_link()' ); 
  3.  
  4. return Jetpack_Custom_CSS::revision_post_link( $post_link, $post_id, $context );