diff --git a/templates/parts/markdown-hook.php b/templates/parts/markdown-hook.php
index 70001e4..7089de5 100644
--- a/templates/parts/markdown-hook.php
+++ b/templates/parts/markdown-hook.php
@@ -36,14 +36,15 @@
echo '-------- | ---- | -----------', $eol;
foreach ( $arguments as $argument ) {
- $type = $argument->get_type();
+ $type = $argument->get_type();
+ $description = $argument->get_description();
\printf(
'%s | %s | %s',
\sprintf( '`%s`', $argument->get_name() ),
empty( $type ) ? '' : \sprintf( '`%s`', \addcslashes( $type, '|' ) ),
strtr(
- \addcslashes( $argument->get_description(), '|' ),
+ ( null === $description ) ? '' : \addcslashes( $description, '|' ),
array(
"\r\n" => '
',
"\r" => '
',