title: how to change parent theme directory url in child theme pointing to child theme directory
body: <p>I'm new to the Wordpress side of things. 
  I just created a child theme and need your assistance with php coding and functions.php related. </p>
  
  <p>I have copied this from parent theme (assets/inc/header-related.php) and put it to child theme folder keeping the structure of the folders. </p>
  
  <p>Inside the header-related.php there is a section for the logo that i want to edit. here is the code below</p>
  
  <pre><code>* Logo */
  function thb_logo( $section = false ) {
      $logo = ot_get_option( 'logo', Thb_Theme_Admin::$thb_theme_directory_uri. 'assets/img/logo.png' );
      $loading = 'auto';
      $classes[] = 'logo-holder';
      if ($section == 'fixed-logo') {
          $logo = ot_get_option( 'logo_fixed', $logo );
          $classes[] = 'fixed-logo-holder';
          $loading = 'lazy';
      } elseif ($section == 'mobile-logo') {
          $logo = ot_get_option( 'mobile_logo', $logo );
          $classes[] = 'mobile-logo-holder';
          $loading = 'lazy';
      } elseif ($section == 'logo_mobilemenu') {
          $logo = ot_get_option( 'logo_mobilemenu', $logo );
          $classes[] = 'mobilemenu-logo-holder';
          $loading = 'lazy';
      }
      ?&gt;
      &lt;div class="&lt;?php echo esc_attr( implode( ' ', $classes ) ); ?&gt;"&gt;
          &lt;a href="&lt;?php echo esc_url( home_url('/') ); ?&gt;" class="logolink" title="&lt;?php bloginfo('name'); ?&gt;"&gt;
              &lt;img src="&lt;?php echo esc_url( $logo ); ?&gt;" loading="&lt;?php echo esc_attr( $loading ); ?&gt;" class="logoimg logo-dark" alt="&lt;?php bloginfo('name'); ?&gt;" /&gt;
          &lt;/a&gt;
      &lt;/div&gt;
      &lt;?php
  }
  add_action( 'thb_logo', 'thb_logo', 2, 1 );
  </code></pre>
  
  <p>I would like to change the theme directory</p>
  
  <pre><code>$logo = ot_get_option( 'logo', Thb_Theme_Admin::$thb_theme_directory_uri. 'assets/img/logo.png' 
  </code></pre>
  
  <p>so that it points the assets/img/logo.png from the child theme and not the parents theme as it is doing right now. also ive changed it to logo.svg and added the svg in the folder but again it seems to be taking it form the parent directory. </p>
  
  <p>Now, what do I need to do in order for this to point to child theme folders? should I add/enqueue it into my child theme functions? if so would you know how?</p>
  
  <p>I'm not sure wether I should have uploaded the folder structure inside my child theme or just add a code inside the functions.php</p>
  
  <p>I would appreciate it if someone can guide me and apologies if it might sound confusing but hope my question is understandable. Thank you!</p>
  
  <p>P.S this is what my functions.php looks like:</p>
  
  <pre><code>    &lt;?php /*
  
    This file is part of a child theme called rekuin2020.
    Functions in this file will be loaded before the parent theme's functions.
    For more information, please read
    https://developer.wordpress.org/themes/advanced-topics/child-themes/
  
  */
  
  // this code loads the parent's stylesheet (leave it in place unless you know what you're doing)
  
  function your_theme_enqueue_styles() {
  
      $parent_style = 'parent-style';
  
      wp_enqueue_style( $parent_style, 
        get_template_directory_uri() . '/style.css'); 
  
      wp_enqueue_style( 'child-style', 
        get_stylesheet_directory_uri() . '/style.css', 
        array($parent_style), 
        wp_get_theme()-&gt;get('Version') 
      );
  }
  
  add_action('wp_enqueue_scripts', 'your_theme_enqueue_styles');
  
  /*  Add your own functions below this line.
      ======================================== */ 
  </code></pre>