Title: Adding a blank space in a php function
Last modified: December 12, 2024

---

# Adding a blank space in a php function

 *  [sacconi](https://wordpress.org/support/users/sacconi/)
 * (@sacconi)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/adding-a-blank-space-in-a-php-function/)
 * I did this way and it works
 *     ```wp-block-code
       <?php echo $user->display_name . ' '; ?>
       ```
   
 * but is it correct too?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-a-blank-space-in-a-php-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/adding-a-blank-space-in-a-php-function/#post-18194992)
 * Yes, you can do it that way.

Viewing 1 replies (of 1 total)

The topic ‘Adding a blank space in a php function’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/adding-a-blank-space-in-a-php-function/#post-18194992)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
