Posted By

mb2o on 12/13/10


Tagged

wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mb2o
qubestream


Remove Whitespace from Function Output


 / Published in: PHP
 

URL: http://css-tricks.com/snippets/wordpress/remove-whitespace-from-function-output/

  1. <?php echo preg_replace('/>\s+</m', '><', wp_list_pages('echo=0')); ?>

Report this snippet  

You need to login to post a comment.