library/Theme/Enqueue.php
public function waitForPrime()
    {
        $wp_scripts = wp_scripts();

        if (!is_admin() && isset($wp_scripts->registered)) {
            foreach ($wp_scripts->registered as $key => $item) {
                if (is_array($item->deps) && !empty($item->deps)) {
                    foreach ($item->deps as $depkey => $depencency) {
                        $item->deps[$depkey] = str_replace("jquery", $this->defaultPrimeName, strtolower($depencency));
                    }
                }
            }
        }
    }
public function waitForPrime()
    {
        $wp_scripts = wp_scripts();

        if (!is_admin() && isset($wp_scripts->registered)) {
            foreach ($wp_scripts->registered as $key => $item) {
                if (is_array($item->deps) && !empty($item->deps)) {
                    foreach ($item->deps as $depkey => $depencency) {
                        $item->deps[$depkey] = str_replace("jquery", $this->defaultPrimeName, strtolower($depencency));
                    }
                }
            }
        }
    }
public function waitForPrime ( ) { $ wp_scripts = wp_scripts ( ) ; if ( ! is_admin ( ) && isset ( $ wp_scripts -> registered ) ) { foreach ( $ wp_scripts -> registered as $ key => $ item ) { if ( is_array ( $ item -> deps ) && ! empty ( $ item -> deps ) ) { foreach ( $ item -> deps as $ depkey => $ depencency ) { $ item -> deps [ $ depkey ] = str_replace ( "jquery" , $ this -> defaultPrimeName , strtolower ( $ depencency ) ) ; } } } } }
Change jquery deps to hbgprime deps
@return void
Change jquery deps to hbgprime deps