Jetpack_Post

The WordPress Core Jetpack Post class.

Defined (1)

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

/sal/class.json-api-post-jetpack.php  
  1. class Jetpack_Post extends SAL_Post { 
  2. public function get_like_count() { 
  3. return 0; 
  4.  
  5. public function is_liked() { 
  6. return false; 
  7.  
  8. public function is_reblogged() { 
  9. return false; 
  10.  
  11. public function is_following() { 
  12. return false; 
  13.  
  14. public function get_global_id() { 
  15. return ''; 
  16.  
  17. public function get_geo() { 
  18. return false; 
  19.  
  20. protected function get_avatar_url( $email, $avatar_size = 96 ) { 
  21. $avatar_url = get_avatar_url( $email, array( 
  22. 'size' => $avatar_size,  
  23. ) ); 
  24.  
  25. if ( ! $avatar_url || is_wp_error( $avatar_url ) ) { 
  26. return ''; 
  27. return $avatar_url;