title: WordPress paginate_links() Customization
body: <p>I'm using WordPress paginate_links() function, which is working, however I'd like to slightly later the html that is output.
  Heres whats currently being displayed:</p>
  
  <pre><code>&lt;a class="prev page-numbers" href=""&gt;« Previous&lt;/a&gt;
  &lt;a class='page-numbers' href=''&gt;1&lt;/a&gt;
  &lt;span class='page-numbers current'&gt;2&lt;/span&gt;
  &lt;a class='page-numbers' href=''&gt;3&lt;/a&gt;
  &lt;a class='page-numbers' href=''&gt;4&lt;/a&gt;
  &lt;a class='page-numbers' href=''&gt;5&lt;/a&gt;
  &lt;a class="next page-numbers" href=""&gt;Next »&lt;/a&gt;
  </code></pre>
  
  <p>The php:</p>
  
  <pre><code>&lt;?php
  
  $pages = array(
  
  'show_all' =&gt; true,
  'prev_text' =&gt; __('« Previous'),
  'next_text' =&gt; __('Next »'),
   );
  
   echo paginate_links($pages);
  
  ?&gt;
  </code></pre>
  
  <p>What I'm trying to achieve is to have the page number links wrapped inside of a div like so:</p>
  
  <pre><code>&lt;a class="prev page-numbers" href=""&gt;« Previous&lt;/a&gt;
   &lt;div class="center-page-numbers"&gt;&lt;!--- Div Wrap ---&gt;
    &lt;a class='page-numbers' href=''&gt;1&lt;/a&gt;
    &lt;span class='page-numbers current'&gt;2&lt;/span&gt;
    &lt;a class='page-numbers' href=''&gt;3&lt;/a&gt;
    &lt;a class='page-numbers' href=''&gt;4&lt;/a&gt;
    &lt;a class='page-numbers' href=''&gt;5&lt;/a&gt;
   &lt;/div&gt;&lt;!--- Div Wrap ---&gt;
  &lt;a class="next page-numbers" href=""&gt;Next »&lt;/a&gt;
  </code></pre>
  
  <p>This way I can center the page numbers using margin: 0 auto;
  Any help would be appreciated.</p>