/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_query' => [
[
'key' => 's_date',
'value' => date('Y-m-d'),
'compare' => '>=',
'meta_type' => 'DATE'
]
]
]);
foreach($posts as $key => $post) {
$output[] = (object)[
'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
'cat' => get_the_terms($post, 'event_category')[0]->name,
'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
'title' => get_the_title($post),
'excerpt' => get_the_excerpt($post),
'link' => get_post_permalink($post),
'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
'dont' => \carbon_get_post_meta($post->ID, 'dont'),
'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
];
}
return $output;
},
'offsetUpcomingEvents' => function($num_posts, $offset) {
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
Arguments
"Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_query' => [
[
'key' => 's_date',
'value' => date('Y-m-d'),
'compare' => '>=',
'meta_type' => 'DATE'
]
]
]);
foreach($posts as $key => $post) {
$output[] = (object)[
'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
'cat' => get_the_terms($post, 'event_category')[0]->name,
'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
'title' => get_the_title($post),
'excerpt' => get_the_excerpt($post),
'link' => get_post_permalink($post),
'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
'dont' => \carbon_get_post_meta($post->ID, 'dont'),
'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
];
}
return $output;
},
'offsetUpcomingEvents' => function($num_posts, $offset) {
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
Arguments
"Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_query' => [
[
'key' => 's_date',
'value' => date('Y-m-d'),
'compare' => '>=',
'meta_type' => 'DATE'
]
]
]);
foreach($posts as $key => $post) {
$output[] = (object)[
'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
'cat' => get_the_terms($post, 'event_category')[0]->name,
'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
'title' => get_the_title($post),
'excerpt' => get_the_excerpt($post),
'link' => get_post_permalink($post),
'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
'dont' => \carbon_get_post_meta($post->ID, 'dont'),
'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
];
}
return $output;
},
'offsetUpcomingEvents' => function($num_posts, $offset) {
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
Arguments
"Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_query' => [
[
'key' => 's_date',
'value' => date('Y-m-d'),
'compare' => '>=',
'meta_type' => 'DATE'
]
]
]);
foreach($posts as $key => $post) {
$output[] = (object)[
'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
'cat' => get_the_terms($post, 'event_category')[0]->name,
'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
'title' => get_the_title($post),
'excerpt' => get_the_excerpt($post),
'link' => get_post_permalink($post),
'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
'dont' => \carbon_get_post_meta($post->ID, 'dont'),
'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
];
}
return $output;
},
'offsetUpcomingEvents' => function($num_posts, $offset) {
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
Arguments
"Trying to access array offset on value of type bool"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_query' => [
[
'key' => 's_date',
'value' => date('Y-m-d'),
'compare' => '>=',
'meta_type' => 'DATE'
]
]
]);
foreach($posts as $key => $post) {
$output[] = (object)[
'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
'cat' => get_the_terms($post, 'event_category')[0]->name,
'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
'title' => get_the_title($post),
'excerpt' => get_the_excerpt($post),
'link' => get_post_permalink($post),
'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
'dont' => \carbon_get_post_meta($post->ID, 'dont'),
'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
];
}
return $output;
},
'offsetUpcomingEvents' => function($num_posts, $offset) {
$output = [];
$posts = get_posts([
'post_type' => 'event',
'numberposts' => $num_posts,
'order' => 'ASC',
/var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php
<div class="block(events)">
<div class="container">
<div class="top">
<?php if(!empty($data->title)): ?>
<h2 class="fz(62) c(teal)"><?php echo e($data->title); ?></h2>
<?php else: ?>
<h2 class="fz(62) c(teal)">Events & Fundraisers</h2>
<?php endif; ?>
<div class="event-cat-filter">
<?php $__currentLoopData = $getEventCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e($item->slug); ?>" class="teal-border cat-item"><?php echo $item->name; ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<div class="inner">
<div class="lg-list">
<?php $__currentLoopData = $upcomingEvents(2); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="item">
<div class="image">
<img src="<?php echo e($item->image); ?>" alt="<?php echo e(get_post_meta($item->image, '_wp_attachment_image_alt', true)); ?>">
</div>
<?php if($item->dont !== true): ?>
<p class="fz(16) c(dark-blue) fw(500) <?php echo e($pastDate($item->start_date)); ?> dates"><?php echo e($item->start_date); ?> - <?php echo e($item->end_date); ?></p>
<?php else: ?>
<p class="fz(16) c(dark-blue) fw(500) <?php echo e($pastDate($item->start_date)); ?> dates"><?php echo e($item->start_date); ?></p>
<?php endif; ?>
<h3 class="fz(32) c(teal) fw(500)"><?php echo $item->title; ?></h3>
<div class="copy c(dark-blue)"><?php echo $item->excerpt; ?></div>
<div class="btns">
<?php if(!empty($item->ex_link)): ?>
<a href="<?php echo e($item->ex_link); ?>" class="btn">Learn More</a>
<?php else: ?>
<a href="<?php echo e($item->link); ?>" class="btn">Learn More</a>
<?php endif; ?>
<?php if(!empty($item->reg_url)): ?>
<a href="<?php echo e($item->reg_url); ?>" class="btn">Register Now</a>
<?php endif; ?>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 number 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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return collect($this->render(fn () => $this->factory->getFragments()))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/Blocks.php
});
foreach ($registerMethods as $method) {
$this->$method();
}
});
}
/**
* Echo template in a uniform way. This is intentionally antipattern.
* Any methods within $blockdata will _not_ be passed to view.
*
* @param string $template Template name
* @param array $blockdata Block Data
*/
private function echoTemplate($template = '', $fields)
{
// if (empty($template)) return false;
echo \Roots\view($template, ['data' => json_decode(json_encode($fields))])->render();
}
/**
* ABC Block Registration
*/
private function registerAbc()
{
Block::make('ABC')
->add_fields([
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('rich_text', 'desc', 'Description')
->set_width(50),
Field::make('text', 'subtitle', 'Subtitle')
->set_width(50),
Field::make('complex', 'list', 'List')
->set_layout('tabbed-horizontal')
->add_fields([
Field::make('text', 'icon', 'FA Icon Class')
->set_width(50),
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/Blocks.php
->set_category('custom-layout', 'Custom Layout')
->set_render_callback(function($block){
$this->echoTemplate('blocks.education_guides', $block);
});
}
/**
* Events Block Registration
*/
private function registerEvents()
{
Block::make('Events')
->add_fields([
Field::make('text', 'title', 'Title')
->set_width(50)
])
->set_icon('calendar-alt')
->set_category('custom-layout', 'Custom Layout')
->set_render_callback(function($block){
$this->echoTemplate('blocks.events', $block);
});
}
/**
* Facts and Stats Block Registration
*/
private function registerFactsAndStats()
{
Block::make('Facts and Stats')
->add_fields([
Field::make('text', 'title', 'Title')
->set_width(50),
Field::make('text', 'subtitle', 'Subtitle')
->set_width(50),
Field::make('complex', 'list', 'List')
->set_layout('tabbed-horizontal')
->add_fields([
Field::make('image', 'image', 'Image')
->set_width(50),
Field::make('select', 'color', 'Color')
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php
return $post_id;
}
/**
* Render the block type.
*
* @param array $attributes
* @param string $content
* @param \WP_Block $block
* @return string
*/
public function render_block( $attributes, $content, $block = null ) { // added variable at the end
$fields = $attributes['data'];
$post_id = $this->get_post_id();
// Unset the "data" property because we
// pass it as separate argument to the callback.
unset($attributes['data']);
ob_start();
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
$toReturn = ob_get_contents();
ob_clean();
return $toReturn;
}
/**
* Returns the block type name, e.g. "carbon-fields/testimonial"
*/
private function get_block_type_name() {
return str_replace( 'carbon-fields-container-', 'carbon-fields/', str_replace( '_', '-', $this->id ) );
}
/**
* Register the block type.
*
* @return void
*/
protected function register_block() {
if ( is_null( $this->render_callback ) ) {
throw new \Exception( __( "'render_callback' is required for the blocks.", 'crb' ) );
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php
return $post_id;
}
/**
* Render the block type.
*
* @param array $attributes
* @param string $content
* @param \WP_Block $block
* @return string
*/
public function render_block( $attributes, $content, $block = null ) { // added variable at the end
$fields = $attributes['data'];
$post_id = $this->get_post_id();
// Unset the "data" property because we
// pass it as separate argument to the callback.
unset($attributes['data']);
ob_start();
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
$toReturn = ob_get_contents();
ob_clean();
return $toReturn;
}
/**
* Returns the block type name, e.g. "carbon-fields/testimonial"
*/
private function get_block_type_name() {
return str_replace( 'carbon-fields-container-', 'carbon-fields/', str_replace( '_', '-', $this->id ) );
}
/**
* Register the block type.
*
* @return void
*/
protected function register_block() {
if ( is_null( $this->render_callback ) ) {
throw new \Exception( __( "'render_callback' is required for the blocks.", 'crb' ) );
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/class-wp-block.php
}
++$index;
}
}
}
if ( ! empty( $computed_attributes ) && ! empty( $block_content ) ) {
foreach ( $computed_attributes as $attribute_name => $source_value ) {
$block_content = $this->replace_html( $block_content, $attribute_name, $source_value );
}
}
if ( $is_dynamic ) {
$global_post = $post;
$parent = WP_Block_Supports::$block_to_render;
WP_Block_Supports::$block_to_render = $this->parsed_block;
$block_content = (string) call_user_func( $this->block_type->render_callback, $this->attributes, $block_content, $this );
WP_Block_Supports::$block_to_render = $parent;
$post = $global_post;
}
if ( ( ! empty( $this->block_type->script_handles ) ) ) {
foreach ( $this->block_type->script_handles as $script_handle ) {
wp_enqueue_script( $script_handle );
}
}
if ( ! empty( $this->block_type->view_script_handles ) ) {
foreach ( $this->block_type->view_script_handles as $view_script_handle ) {
wp_enqueue_script( $view_script_handle );
}
}
if ( ! empty( $this->block_type->view_script_module_ids ) ) {
foreach ( $this->block_type->view_script_module_ids as $view_script_module_id ) {
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/blocks.php
*
* @param array $context Default context.
* @param array $parsed_block {
* An associative array of the block being rendered. See WP_Block_Parser_Block.
*
* @type string $blockName Name of block.
* @type array $attrs Attributes from block comment delimiters.
* @type array[] $innerBlocks List of inner blocks. An array of arrays that
* have the same structure as this one.
* @type string $innerHTML HTML from inside block comment delimiters.
* @type array $innerContent List of string fragments and null markers where
* inner blocks were found.
* }
* @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block.
*/
$context = apply_filters( 'render_block_context', $context, $parsed_block, $parent_block );
$block = new WP_Block( $parsed_block, $context );
return $block->render();
}
/**
* Parses blocks out of a content string.
*
* @since 5.0.0
*
* @param string $content Post content.
* @return array[] {
* Array of block structures.
*
* @type array ...$0 {
* An associative array of a single parsed block object. See WP_Block_Parser_Block.
*
* @type string $blockName Name of block.
* @type array $attrs Attributes from block comment delimiters.
* @type array[] $innerBlocks List of inner blocks. An array of arrays that
* have the same structure as this one.
* @type string $innerHTML HTML from inside block comment delimiters.
* @type array $innerContent List of string fragments and null markers where
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/blocks.php
$parser_class = apply_filters( 'block_parser_class', 'WP_Block_Parser' );
$parser = new $parser_class();
return $parser->parse( $content );
}
/**
* Parses dynamic blocks out of `post_content` and re-renders them.
*
* @since 5.0.0
*
* @param string $content Post content.
* @return string Updated post content.
*/
function do_blocks( $content ) {
$blocks = parse_blocks( $content );
$output = '';
foreach ( $blocks as $block ) {
$output .= render_block( $block );
}
// If there are blocks in this content, we shouldn't run wpautop() on it later.
$priority = has_filter( 'the_content', 'wpautop' );
if ( false !== $priority && doing_filter( 'the_content' ) && has_blocks( $content ) ) {
remove_filter( 'the_content', 'wpautop', $priority );
add_filter( 'the_content', '_restore_wpautop_hook', $priority + 1 );
}
return $output;
}
/**
* If do_blocks() needs to remove wpautop() from the `the_content` filter, this re-adds it afterwards,
* for subsequent `the_content` usage.
*
* @since 5.0.0
* @access private
*
* @param string $content The post content running through this filter.
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/class-wp-hook.php
$this->iterations[ $nesting_level ] = $this->priorities;
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
$priority = $this->current_priority[ $nesting_level ];
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// Avoid the array_slice() if possible.
if ( 0 === $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
--$this->nesting_level;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/plugin.php
$all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
_wp_call_all_hook( $all_args );
}
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
// Pass the value to WP_Hook.
array_unshift( $args, $value );
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
/**
* Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
*
* @since 3.0.0
*
* @see apply_filters() This function is identical, but the arguments passed to the
* functions hooked to `$hook_name` are supplied using an array.
*
* @global WP_Hook[] $wp_filter Stores all of the filters and actions.
* @global int[] $wp_filters Stores the number of times each filter was triggered.
* @global string[] $wp_current_filter Stores the list of current filters with the current one last.
*
* @param string $hook_name The name of the filter hook.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/post-template.php
/**
* Displays the post content.
*
* @since 0.71
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default false.
*/
function the_content( $more_link_text = null, $strip_teaser = false ) {
$content = get_the_content( $more_link_text, $strip_teaser );
/**
* Filters the post content.
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
echo $content;
}
/**
* Retrieves the post content.
*
* @since 0.71
* @since 5.2.0 Added the `$post` parameter.
*
* @global int $page Page number of a single post/page.
* @global int $more Boolean indicator for whether single post/page is being viewed.
* @global bool $preview Whether post/page is in preview mode.
* @global array $pages Array of all pages in post/page. Each array element contains
* part of the content separated by the `<!--nextpage-->` tag.
* @global int $multipage Boolean indicator for whether multiple pages are in play.
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default false.
* @param WP_Post|object|int $post Optional. WP_Post instance or Post ID/object. Default null.
/var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/c9198cd03c089c761118fe5ec6ba6cd2.php
<?php (the_content()); ?>
<?php if($pagination): ?>
<nav class="page-nav" aria-label="Page">
<?php echo $pagination; ?>
</nav>
<?php endif; ?>
<?php /**PATH /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/c9198cd03c089c761118fe5ec6ba6cd2.php"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 number 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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return collect($this->render(fn () => $this->factory->getFragments()))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return 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/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/a5ead8c909a74d2fdee31df4d944aae4.php
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<!-- <?php echo $__env->make('partials.page-header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> -->
<?php echo $__env->first(['partials.content-page', 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/page.blade.php ENDPATH**/ ?>
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/a5ead8c909a74d2fdee31df4d944aae4.php"
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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 number 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 section gets 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php
*
* @return string
*/
protected function allFragments()
{
return collect($this->render(fn () => $this->factory->getFragments()))->implode('');
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return 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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/index.php
<?php
echo view(app('sage.view'), app('sage.data'))->render();
/var/www/vhosts/melanoma.org/httpdocs/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/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/index.php"
/var/www/vhosts/melanoma.org/httpdocs/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/vhosts/melanoma.org/httpdocs/wp-includes/template-loader.php"
/var/www/vhosts/melanoma.org/httpdocs/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/var/www/vhosts/melanoma.org/httpdocs/wp-blog-header.php"