Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.32.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : direct.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

add_filter(
	'document_title',
	function ( $title ) use ( $form ) {
		$form_name = '' === $form->name ? FrmFormsHelper::get_no_title_text() : $form->name;
		return get_bloginfo( 'name', 'display' ) . ' | ' . wp_strip_all_tags( $form_name );
	}
);
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
	<?php
	if ( ! current_theme_supports( 'title-tag' ) ) {
		?>
		<title><?php bloginfo( 'name' ); ?> | <?php echo esc_html( $form->name ); ?></title>
		<?php
	}

	wp_head();
	FrmFormsController::maybe_load_css( $form, 1, false );
	?>
</head>
<body class="frm_preview_page">
	<?php
	if ( is_callable( 'twentynineteen_setup' ) ) {
		?>
	<div class="site-branding frm_hidden"></div>
		<?php
	}
	echo FrmFormsController::show_form( $form->id, '', 'auto', 'auto' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	?>
	<?php wp_footer(); ?>
</body>
</html>
© 2025 XylotrechusZ