/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/themes/baltic/theme/library/Core/Acf/OptionsPage.php
use Theme\Core\Struct\Struct;
use StoutLogic\AcfBuilder\FieldsBuilder;
final class OptionsPage extends Struct
{
private $id;
private $title;
private $params = [
'capability' => 'theme-settings',
'position' => 99,
'redirect' => false
];
public function __construct(string $id, string $title, array $params = [])
{
$this->id = $id;
$this->title = $title;
$this->params = array_replace($this->params, $params);
$this->builder = new FieldsBuilder($id, [
'title' => $title,
'layout' => 'seamless'
]);
}
public function __call(string $name, array $arguments)
{
return call_user_func_array([$this->builder, $name], $arguments);
}
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
Arguments
"Creation of dynamic property Theme\Core\Acf\OptionsPage::$builder is deprecated"
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/themes/baltic/theme/library/Core/Acf/OptionsPage.php
use Theme\Core\Struct\Struct;
use StoutLogic\AcfBuilder\FieldsBuilder;
final class OptionsPage extends Struct
{
private $id;
private $title;
private $params = [
'capability' => 'theme-settings',
'position' => 99,
'redirect' => false
];
public function __construct(string $id, string $title, array $params = [])
{
$this->id = $id;
$this->title = $title;
$this->params = array_replace($this->params, $params);
$this->builder = new FieldsBuilder($id, [
'title' => $title,
'layout' => 'seamless'
]);
}
public function __call(string $name, array $arguments)
{
return call_user_func_array([$this->builder, $name], $arguments);
}
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
Arguments
8192
"Creation of dynamic property Theme\Core\Acf\OptionsPage::$builder is deprecated"
"/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/themes/baltic/theme/library/Core/Acf/OptionsPage.php"
23
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/themes/baltic/theme/library/Core/Acf/OptionsPageCollection.php
<?php declare(strict_types=1);
namespace Theme\Core\Acf;
use Theme\Core\Struct\Collection;
final class OptionsPageCollection extends Collection
{
public function create(string $id, string $name, array $settings = []): OptionsPage
{
if ($this->has($id)) {
throw new \LogicException(
sprintf('Options page with ID %s already exists', $id)
);
}
$this->elements[$id] = new OptionsPage($id, $name, $settings);
return $this->elements[$id];
}
public function add($page): Collection
{
$this->validateType($page);
$id = $builder->getId();
$this->elements[$id] = $page;
return $this;
}
public function register()
{
$this->sort(function($a, $b) {
return $a->getPosition() == $b->getPosition() ? 0 :
(($a->getPosition() < $b->getPosition()) ? -1 : 1);
});
foreach ($this->getIterator() as $page) {
$page->register();
Arguments
"root"
"Baltic Adventures"
[]
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/themes/baltic/theme/library/Core/CoreServices.php
foreach ($routes as $key => $route){
$choices[$key] = $key;
}
if ($choices) {
array_unshift($choices, ['' => '']);
$items->addSelect('route', [
'default_value' => '',
'choices' => $choices
]);
}
});
add_action('theme/option-pages', [$this, 'addOptionPages']);
add_action('acf/init', function() use ($pimple) {
// Register option pages
$collection = $pimple['option_pages'];
$collection->create('root', get_bloginfo())
->setParam('redirect', true)
->setPosition(0)
;
do_action('theme/option-pages', $collection, $pimple);
$collection->register();
// Register theme rows
do_action('theme/rows', $pimple['fieldsets']);
// Register theme sections
do_action('theme/sections', [
'sections' => $pimple['sections'],
'fieldsets' => $pimple['fieldsets']
]);
$pimple['sections']->register();
});
Arguments
"root"
"Baltic Adventures"
/www/htdocs/w01b246c/www.baltic-adventures.de/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.
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-includes/class-wp-hook.php
} 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.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
}
/**
* Processes the functions hooked into the 'all' hook.
*
* @since 4.7.0
*
* @param array $args Arguments to pass to the hook callbacks. Passed by reference.
*/
public function do_all_hook( &$args ) {
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = $this->priorities;
do {
$priority = current( $this->iterations[ $nesting_level ] );
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-includes/plugin.php
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
if ( empty( $arg ) ) {
$arg[] = '';
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
* Calls the callback functions that have been added to an action hook, specifying arguments in an array.
*
* @since 2.1.0
*
* @see do_action() 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_actions Stores the number of times each action 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 action to be executed.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
*/
function do_action_ref_array( $hook_name, $args ) {
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-content/plugins/advanced-custom-fields-pro/acf.php
*/
do_action( 'acf/include_taxonomies', ACF_MAJOR_VERSION );
// If we're on 6.5 or newer, load block bindings.
if ( version_compare( get_bloginfo( 'version' ), '6.5', '>=' ) ) {
new ACF\Blocks\Bindings();
}
// Initialize ACF AI.
acf_new_instance( '\ACF\AI\AI' );
/**
* Fires after ACF is completely "initialized".
*
* @date 28/09/13
* @since 5.0.0
*
* @param int ACF_MAJOR_VERSION The major version of ACF.
*/
do_action( 'acf/init', ACF_MAJOR_VERSION );
}
/**
* Registers the ACF post types.
*
* @date 22/10/2015
* @since 5.3.2
*/
public function register_post_types() {
$cap = acf_get_setting( 'capability' );
// Register the Field Group post type.
register_post_type(
'acf-field-group',
array(
'labels' => array(
'name' => __( 'Field Groups', 'acf' ),
'singular_name' => __( 'Field Group', 'acf' ),
'add_new' => __( 'Add New', 'acf' ),
'add_new_item' => __( 'Add New Field Group', 'acf' ),
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/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.
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-includes/class-wp-hook.php
} 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.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
}
/**
* Processes the functions hooked into the 'all' hook.
*
* @since 4.7.0
*
* @param array $args Arguments to pass to the hook callbacks. Passed by reference.
*/
public function do_all_hook( &$args ) {
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = $this->priorities;
do {
$priority = current( $this->iterations[ $nesting_level ] );
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-includes/plugin.php
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
if ( empty( $arg ) ) {
$arg[] = '';
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
* Calls the callback functions that have been added to an action hook, specifying arguments in an array.
*
* @since 2.1.0
*
* @see do_action() 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_actions Stores the number of times each action 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 action to be executed.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
*/
function do_action_ref_array( $hook_name, $args ) {
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-settings.php
if ( ! class_exists( 'WP_Site_Health' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}
WP_Site_Health::get_instance();
// Set up current user.
$GLOBALS['wp']->init();
/**
* Fires after WordPress has finished loading but before any headers are sent.
*
* Most of WP is loaded at this stage, and the user is authenticated. WP continues
* to load on the {@see 'init'} hook that follows (e.g. widgets), and many plugins instantiate
* themselves on it for all sorts of reasons (e.g. they need a user, a taxonomy, etc.).
*
* If you wish to plug an action once WP is loaded, use the {@see 'wp_loaded'} hook below.
*
* @since 1.5.0
*/
do_action( 'init' );
// Check site status.
if ( is_multisite() ) {
$file = ms_site_check();
if ( true !== $file ) {
require $file;
die();
}
unset( $file );
}
/**
* This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated.
*
* Ajax requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
* users not logged in.
*
* @link https://developer.wordpress.org/plugins/javascript/ajax
*
* @since 3.0.0
Arguments
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-config.php
$table_prefix = 'wp_';
// https://api.wordpress.org/secret-key/1.1/salt/
define('AUTH_KEY', 'K@=c2pZ~g1f`]}E4+cXHWK^vZF|)7BSJ,W=NRj7o9YZrhjEag-h @mIG45e+`Lv)');
define('SECURE_AUTH_KEY', 'PP[-?;.lLO[-RRBa+!)-:}{%GF(3ot^+-t=7g-{C%5;ou++:Ek.4)Wjxxv ]_v4=');
define('LOGGED_IN_KEY', '+>s`%El(BWP?2@M|gO[t:K#Z:TGX`i(26(<xeH`Q6/l)-ox3-`wIs.B0n/|tde*A');
define('NONCE_KEY', 'c;u=IX*BvSP`.*7W`;SI4cuJm2<`k;e/:>4PP{J,Xw$js-764g7f]>#$0/mKQ~4f');
define('AUTH_SALT', 'ihz9]f-Zx(bUU$oAqA~6d|!y<O[jR)um2{}P aTe&Sr_h}e[sr+HwsmZ2[9vP9Bb');
define('SECURE_AUTH_SALT', 'lh<!1Vpk}>bAB2T3-sPogW1VGY;0b*)VNqxIO~vh{0JgER&xsb7.rAC^U2D)s` f');
define('LOGGED_IN_SALT', '.BG%}!7-enbsr~G*RKgpbL%|R/;<r*2sm5Qap0&z7rjbOR>s.#|_0F@?J9[[rx)v');
define('NONCE_SALT', 'KYzRt_Io_j~cna1|G8;8&& XORB/Gi8mG5J4c+R2L0{G1-YAKHS^Sv7@|q@OvBL^');
define('WC_GZD_ENCRYPTION_KEY', '477080caddde4c8d02ddd80a345f24f972a91f968a60926b1a66dddf2ee9a354');
if (!defined('ABSPATH')) {
define('ABSPATH', dirname(__FILE__).'/');
}
//ini_set("display_errors", 1);
require_once ABSPATH.'wp-settings.php';
// die('WARTUNG');
Arguments
"/www/htdocs/w01b246c/www.baltic-adventures.de/wp-settings.php"
/www/htdocs/w01b246c/www.baltic-adventures.de/wp-load.php
* Initialize error reporting to a known set of levels.
*
* This will be adapted in wp_debug_mode() located in wp-includes/load.php based on WP_DEBUG.
* @see https://www.php.net/manual/en/errorfunc.constants.php List of known error levels.
*/
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
}
/*
* If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
* doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
* of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
* and /blog/ is WordPress(b).
*
* If neither set of conditions is true, initiate loading the setup process.
*/
if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
/** The config file resides in ABSPATH */
require_once ABSPATH . 'wp-config.php';
} elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
/** The config file resides one level above ABSPATH but is not part of another installation */
require_once dirname( ABSPATH ) . '/wp-config.php';
} else {
// A config file doesn't exist.
define( 'WPINC', 'wp-includes' );
require_once ABSPATH . WPINC . '/version.php';
require_once ABSPATH . WPINC . '/compat.php';
require_once ABSPATH . WPINC . '/load.php';
// Check for the required PHP version and for the MySQL extension or a database drop-in.
wp_check_php_mysql_versions();
// Standardize $_SERVER variables across setups.
wp_fix_server_vars();
Arguments
"/www/htdocs/w01b246c/www.baltic-adventures.de/wp-config.php"
/www/htdocs/w01b246c/www.baltic-adventures.de/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
"/www/htdocs/w01b246c/www.baltic-adventures.de/wp-load.php"
/www/htdocs/w01b246c/www.baltic-adventures.de/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
"/www/htdocs/w01b246c/www.baltic-adventures.de/wp-blog-header.php"