HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/themes/jnews/class/Customizer/sections/ads_archive.php
<?php

$category_post_redirect = [
	[
		'redirect' => 'category_tag',
		'refresh'  => false,
	],
];

$archive_above_hero = new \JNews\Customizer\AdsOptionGenerator( [
	'location'     => 'archive_above_hero',
	'title'        => esc_html__( 'Above Hero', 'jnews' ),
	'default_size' => '728x90',
	'visibility'   => [
		'desktop' => true,
		'tab'     => true,
		'phone'   => true,
	],
	'postvar'      => $category_post_redirect,
] );

$archive_below_hero = new \JNews\Customizer\AdsOptionGenerator( [
	'location'     => 'archive_below_hero',
	'title'        => esc_html__( 'Below Hero', 'jnews' ),
	'default_size' => '728x90',
	'visibility'   => [
		'desktop' => true,
		'tab'     => true,
		'phone'   => true,
	],
	'postvar'      => $category_post_redirect,
] );

$inline_module = new \JNews\Customizer\AdsOptionGenerator( [
	'location'     => 'inline_module',
	'title'        => esc_html__( 'Inline Module', 'jnews' ),
	'default_size' => '728x90',
	'visibility'   => [
		'desktop' => true,
		'tab'     => true,
		'phone'   => true,
	],
	'postvar'      => $category_post_redirect,
] );

return array_merge(
	$archive_above_hero->ads_option_generator(),
	$archive_below_hero->ads_option_generator(),
	$inline_module->ads_option_generator()
);