title: Wordpress ad_filter to title
body: <p>i have problem to ad tiitle to title :P </p>
  
  <p>I just have created custom post type. Now i want Get random title from element from custom post type and write it after POST (standard post) here is my code: </p>
  
  <pre><code>function pobierajslowa() {
          $args=array(
                'orderby' =&gt; rand,
                'post_type' =&gt; 'slowa_kluczowe_wpisu',
                'posts_per_page' =&gt; 1,
                'caller_get_posts'=&gt; 1
              );
              $queryObject = new WP_Query($args);
              while ($queryObject-&gt;have_posts()) {
                  $queryObject-&gt;the_post();
                  return get_the_title(); 
              }
  }
  
  
  function theme_slug_filter_the_content( $title ) {
      $custom_content = $title;
      $custom_content .= ' '.pobierajslowa().'';
      return $custom_content;
  }
  
  add_filter( 'the_title', 'theme_slug_filter_the_content' );
  </code></pre>
  
  <p>After when i use this, i get 503 error :O What i have do wrong? </p>