Created
November 20, 2015 10:34
-
-
Save goranefbl/846a182939cb42d5fcf3 to your computer and use it in GitHub Desktop.
ob_start()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function ttr_container( $content ) { | |
$custom_content = ''; | |
if(0 == 0) { | |
ob_start(); | |
$this->social_share(); | |
$custom_content .= ob_get_contents(); | |
ob_end_clean(); | |
} | |
$custom_content .= '<div class="ttr_start"></div>'; | |
$custom_content .= $content; | |
$custom_content .= '<div class="ttr_end"></div>'; | |
if(0 == 0) { | |
ob_start(); | |
$this->social_share(); | |
$custom_content .= ob_get_contents(); | |
ob_end_clean(); | |
} | |
return $custom_content; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment