/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
/**
* Hook: woocommerce_after_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<div class="mb-4 text-xs packaging text-dr-gray-7">
<p><?php echo e(pll_e('packaging')); ?>:
<?php
if (isset($product->get_attributes()['pa_packaging'])){
echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_syskeyasia'])){
echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
<p><?php echo e(wc_attribute_label('pa_origin')); ?>:
<?php
if (isset($product->get_attributes()['pa_origin'])){
echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_proeleysi'])){
echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
</div>
<div class="flex flex-col items-start mb-4 quantity">
<div class="flex text-center text-xxs sm:text-xs text-primary">
<div class="w-6 sm:w-8"></div>
Arguments
"Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php) (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)"
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
/**
* Hook: woocommerce_after_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<div class="mb-4 text-xs packaging text-dr-gray-7">
<p><?php echo e(pll_e('packaging')); ?>:
<?php
if (isset($product->get_attributes()['pa_packaging'])){
echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_syskeyasia'])){
echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
<p><?php echo e(wc_attribute_label('pa_origin')); ?>:
<?php
if (isset($product->get_attributes()['pa_origin'])){
echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_proeleysi'])){
echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
</div>
<div class="flex flex-col items-start mb-4 quantity">
<div class="flex text-center text-xxs sm:text-xs text-primary">
<div class="w-6 sm:w-8"></div>
Arguments
"Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)"
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
/**
* Hook: woocommerce_after_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<div class="mb-4 text-xs packaging text-dr-gray-7">
<p><?php echo e(pll_e('packaging')); ?>:
<?php
if (isset($product->get_attributes()['pa_packaging'])){
echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_syskeyasia'])){
echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
<p><?php echo e(wc_attribute_label('pa_origin')); ?>:
<?php
if (isset($product->get_attributes()['pa_origin'])){
echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_proeleysi'])){
echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
</div>
<div class="flex flex-col items-start mb-4 quantity">
<div class="flex text-center text-xxs sm:text-xs text-primary">
<div class="w-6 sm:w-8"></div>
Arguments
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
/**
* Hook: woocommerce_after_shop_loop_item_title.
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<div class="mb-4 text-xs packaging text-dr-gray-7">
<p><?php echo e(pll_e('packaging')); ?>:
<?php
if (isset($product->get_attributes()['pa_packaging'])){
echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_syskeyasia'])){
echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
<p><?php echo e(wc_attribute_label('pa_origin')); ?>:
<?php
if (isset($product->get_attributes()['pa_origin'])){
echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
} elseif (isset($product->get_attributes()['pa_proeleysi'])){
echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
} else {
echo '---';
}
?>
</p>
</div>
<div class="flex flex-col items-start mb-4 quantity">
<div class="flex text-center text-xxs sm:text-xs text-primary">
<div class="w-6 sm:w-8"></div>
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php"
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php
<?= \Roots\view('woocommerce.content-product', $data ?? get_defined_vars())->render(); ?>
<?php /**PATH /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php ENDPATH**/ ?>
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template.php
/*
* This use of extract() cannot be removed. There are many possible ways that
* templates could depend on variables that it creates existing, and no way to
* detect and deprecate it.
*
* Passing the EXTR_SKIP flag is the safest option, ensuring globals and
* function variables cannot be overwritten.
*/
// phpcs:ignore WordPress.PHP.DontExtract.extract_extract
extract( $wp_query->query_vars, EXTR_SKIP );
}
if ( isset( $s ) ) {
$s = esc_attr( $s );
}
if ( $require_once ) {
require_once $_template_file;
} else {
require $_template_file;
}
}
Arguments
"/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php"
/var/www/b2b.dryfo.com/public_html/web/app/plugins/woocommerce/includes/wc-core-functions.php
"{$slug}.php",
WC()->template_path() . "{$slug}.php",
)
);
}
// Don't cache the absolute path so that it can be shared between web servers with different paths.
$cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
wc_set_template_cache( $cache_key, $cache_path );
} else {
// Make sure that the absolute path to the template is resolved.
$template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
}
// Allow 3rd party plugins to filter template file from their plugin.
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
if ( $template ) {
load_template( $template, false );
}
}
/**
* Get other templates (e.g. product attributes) passing attributes and including the file.
*
* @param string $template_name Template name.
* @param array $args Arguments. (default: array).
* @param string $template_path Template path. (default: '').
* @param string $default_path Default path. (default: '').
*/
function wc_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
$cache_key = sanitize_key( implode( '-', array( 'template', $template_name, $template_path, $default_path, Constants::get_constant( 'WC_VERSION' ) ) ) );
$template = (string) wp_cache_get( $cache_key, 'woocommerce' );
if ( ! $template ) {
$template = wc_locate_template( $template_name, $template_path, $default_path );
// Don't cache the absolute path so that it can be shared between web servers with different paths.
$cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php
<?php echo e(wpgb_render_facet( [ 'id' => 15, 'grid' => 'wpgb-content' ] )); ?>
<?php echo e(wpgb_render_facet( [ 'id' => 16, 'grid' => 'wpgb-content' ] )); ?>
<?php endif; ?>
</div>
</div>
<?php
woocommerce_product_loop_start();
?>
<?php if(wc_get_loop_prop('total')): ?>
<?php while(have_posts()): ?>
<?php
the_post();
do_action('woocommerce_shop_loop');
wc_get_template_part('content', 'product');
?>
<?php endwhile; ?>
<?php endif; ?>
<?php
woocommerce_product_loop_end();
do_action('woocommerce_after_shop_loop');
?>
<div class="text-center pagination text-secondary">
<?php
/* PAGINATION */
wpgb_render_facet( [ 'id' => 7, 'grid' => 'wpgb-content' ] );
?>
</div>
<?php else: ?>
<?php
do_action('woocommerce_no_products_found')
?>
<?php endif; ?>
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php"
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/index.php
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '3279566892305943');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none" alt="facebook pixel"
src="https://www.facebook.com/tr?id=3279566892305943&ev=PageView&noscript=1" /></noscript>
<!-- End Meta Pixel Code -->
<!-- Font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap" rel="stylesheet">
</head>
<body class="font-body" <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
</html>
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/index.php"
/var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php"
/var/www/b2b.dryfo.com/public_html/web/index.php
<?php
/**
* WordPress View Bootstrapper
*/
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
Arguments
"/var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php"