PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
core
/
server
/
helpers
<?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; }
[-] components.php
[edit]
[-] transformers.php
[edit]
[-] modules.php
[edit]
[-] page.php
[edit]
[-] helpers.php
[edit]
[-] options.php
[edit]
[-] elements.php
[edit]
[-] paths.php
[edit]
[-] posts.php
[edit]
[-] templates.php
[edit]
[-] states.php
[edit]
[-] templating.php
[edit]
[-] shortcodes.php
[edit]
[-] urls.php
[edit]
[-] misc.php
[edit]
[+]
..
[-] breakpoints.php
[edit]
[-] strings.php
[edit]