addDocHooks($object); return $object; } } if (! function_exists('errorLog')) { function errorLog(\Throwable $error): void { error_log((string) $error); if ( defined('WP_DEBUG') && WP_DEBUG === true && defined('WP_DEBUG_DISPLAY') && WP_DEBUG_DISPLAY === true ) { dump($error); } } } if (! function_exists('planzerBoot')) { function planzerBoot(): void { static $booted = false; if ($booted) { return; } planzerDoc(); planzer(); $booted = true; } } add_action("init", "planzerBoot", 5);