Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tweakecp_add_jpshare( $after ) {
- if ( function_exists( 'sharing_display' ) ) {
- $shares = sharing_display( '', true );
- $assess = trim($shares);
- if ( empty($assess) ) $shares = ' sharing_display() is not returning anything ';
- }
- else {
- $shares = " Jetpack\'s sharing_display() function has not been defined ";
- }
- $after .= $shares;
- return $after;
- }
- add_filter( 'tribe_events_after_html', 'tweakecp_add_jpshare' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement