title: Change my custom logo link Wordpress
body: <p>I am trying to change my Wordpress logo link into some custom one.</p>
  
  <p>Let's say the new link i want to set is <a href="http://newlink.html" rel="noreferrer">http://newlink.html</a></p>
  
  <p>I am using wordpress 4.5.3 with twenty fifteen theme. ( so the last answer i fount on Stack is outdated because the custom logo changed in 4.5 ).</p>
  
  <p>I went in <code>header.php</code> and found :</p>
  
  <pre><code>twentyfifteen_the_custom_logo();
  
      if ( is_front_page() &amp;&amp; is_home() ) : ?&gt;
          &lt;h1 class="site-title"&gt;&lt;a href="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;" 
              rel="home"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;&lt;/h1&gt;
      &lt;?php else : ?&gt;
          &lt;p class="site-title"&gt;&lt;a href="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;" 
              rel="home"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;/a&gt;&lt;/p&gt;
      &lt;?php endif;
  </code></pre>
  
  <p>So if i get it correctly, i'm calling a function <code>twentyfifteen_the_custom_logo();</code>for my custom logo and the next two links does not affect me because they are <strong>if</strong> i still was using the text logo, which I dont.</p>
  
  <p>I then went hunting for this <code>twentyfifteen_the_custom_logo();</code> and found some parameters I could change : </p>
  
  <p><code>function.php</code> :</p>
  
  <pre><code>/*
   * Enable support for custom logo.
   *
   * @since Twenty Fifteen 1.5
   */
  add_theme_support( 'custom-logo', array(
      'height'      =&gt; 248,
      'width'       =&gt; 248,
      'flex-height' =&gt; true,
  ) );
  </code></pre>
  
  <p>So I got the idea to add something like <code>'src' =&gt; http://newlink.html,</code> but the <a href="https://codex.wordpress.org/Theme_Logo" rel="noreferrer">documentation</a> does not look like accepting this parameter.</p>
  
  <p>I continue my hunting to find the function and get to <code>template-tags.php</code>and find :</p>
  
  <pre><code>if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) :
  /**
   * Displays the optional custom logo.
   *
   * Does nothing if the custom logo is not available.
   *
   * @since Twenty Fifteen 1.5
   */
  function twentyfifteen_the_custom_logo() {
      if ( function_exists( 'the_custom_logo' ) ) {
          the_custom_logo();
      }
  }
  endif;
  </code></pre>
  
  <p>This function calls <code>the_custom_logo();</code> that I can't find anywhere.</p>
  
  <p>I may have missed something or maybe I didn't look the right way, if you could help me finding how to change my custom logo link to my custom url, it would be wonderful :) </p>
  
  <p>Thanks !</p>