diff --git content-reference.php content-reference.php
index 02cb0b5..b8e256a 100644
--- content-reference.php
+++ content-reference.php
@@ -114,6 +114,14 @@ if ( ! empty( $since ) ) : ?>
 		<?php endif;
 	endif; ?>
 
+	<?php if ( 'wp-parser-function' === get_post_type() ) : ?>
+		<hr />
+		<section class="source-content">
+			<h2><?php _e( 'Source', 'wporg' ); ?></h2>
+			<pre><?php echo esc_html( get_source_code() ); ?></pre>
+		</section>
+	<?php endif; ?>
+
 <?php endif; ?>
 
 </article>
diff --git inc/template-tags.php inc/template-tags.php
index 28f3199..a0bc383 100755
--- inc/template-tags.php
+++ inc/template-tags.php
@@ -564,4 +564,34 @@ namespace DevHub {
 		return strcmp( $a->post_name, $b->post_name );
 	}
 
+	/**
+	 * Retrieve source code for a function
+	 *
+	 * @param int $post_id
+	 *
+	 * @return string The sourc
+	 */
+	function get_source_code( $post_id = null ) {
+
+		if ( empty( $post_id ) ) {
+			$post_id = get_the_ID();
+		}
+
+		// Get the total file sourcecode.
+		$source_file = get_source_file( $post_id );
+
+		// Put the total source code in an array.
+		$total_source_code = file_get_contents( ABSPATH . $source_file );
+		$total_source_code = explode( "\n", $total_source_code );
+
+		// Get the start and end lines.
+		$start_line = get_post_meta( $post_id, '_wp-parser_line_num', true ) - 1;
+		$end_line =   get_post_meta( $post_id, '_wp-parser_end_line_num', true );
+
+		// Get the correct source code.
+		$source_code = array_slice( $total_source_code, $start_line, $end_line - $start_line );
+
+		return implode( "\n", $source_code );
+	}
+
 }
\ No newline at end of file
