Add some text after your wordpress content

WordPress comes with many hooks, hooks are functions that can be used to an action or a filter.For adding text after WordPress content we also have a filter.

Add following code into your functions.php file.

function ce_add_text_to_the_content( $content )
{
	$new_content = "Your new content here";
	$content = $content.$new_content;
        return $content;  
}
add_filter( 'the_content', 'ce_add_text_to_the_content' );

WordPress hooks