SHARE
TWEET

Untitled

BakerMan Nov 28th, 2013 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tweakecp_add_jpshare( $after ) {
  2.  
  3.         if ( function_exists( 'sharing_display' ) ) {
  4.                 $shares = sharing_display( '', true );
  5.  
  6.                 $assess = trim($shares);
  7.                 if ( empty($assess) ) $shares = ' sharing_display() is not returning anything ';
  8.         }
  9.         else {
  10.                 $shares = " Jetpack\'s sharing_display() function has not been defined ";
  11.         }
  12.  
  13.         $after .= $shares;
  14.         return $after;
  15. }
  16.  
  17. add_filter( 'tribe_events_after_html', 'tweakecp_add_jpshare' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top