title: wordpress bloginfo filter name and description
body: <p>I was trying to edit my wordpress site name and description, I got that I have to add a filter plugin like so: <code>add_filter( 'bloginfo', 'My_function_name', 10, 2 );</code>.</p>
  
  <p>It works, but I can't understand why we have to add the <code>10, 2</code> parameters? and which values it belongs to?</p>
  
  <p>Also there wasn't enough information in <a href="http://codex.wordpress.org/Function_Reference/bloginfo" rel="nofollow">codex.wordpress.org</a></p>
  
  <p>Here is my working plugin :</p>
  
  <pre><code>function edit_bloginfo($text,$show ){
      if (isset($_COOKIE['switch_language'])) {
          if($show == 'description'){
              $text = 'New description';
          }
          if($show == 'name'){
              $text = 'New site name';
          }
        return  $text;
      }
  
  }
  add_filter( 'bloginfo', 'edit_bloginfo', 10, 2 );
  </code></pre>