Created
October 4, 2019 15:25
-
-
Save justadityaraj/067a57d64bbfdd6676e2be99ded981ce to your computer and use it in GitHub Desktop.
This file contains 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
//FTC Disclaimer besides post meta -single post | |
add_filter('astra_post_comments', 'function_to_add_post_comment_icon'); | |
function function_to_add_post_comment_icon($output) | |
{ | |
if (!empty($output)) { | |
$output = $output . '<span><a href='#disclaimerbtn' class='manual_trigger_5966'>FTC Disclaimer</a></span>'; | |
} | |
return $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment