如何在WordPress仪表板中添加限制词

How to add limit word this plugin list. I want to show 1 word like "Amar"

row code:

<td class="manage-column ss-list-width"><a href="<?php the_permalink();?>"><?php echo $row->code; ?> <?php  ?> </a></td>

enter image description here

Grab only the first word of the code using strstr:

<a href="<?php the_permalink();?>"><?php echo strstr($row->code, ' ', true); ?> <?php  ?> </a>

Here is one option:

<td class="manage-column ss-list-width"><a href="<?php the_permalink();?>"><?php echo substr($row->code, 0 , length); ?> <?php  ?> </a></td>