HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/plugins/backwpup/parts/modal/backup-now.php
<?php
use BackWPup\Utils\BackWPupHelpers;
BackWPupHelpers::component(
	'closable-heading',
	[
		'title' => __( 'Backup Now', 'backwpup' ),
		'type'  => 'modal',
	]
	);
?>

<?php
$info_content = [
	'component' => 'alerts/info',
	'args'      => [
		'type'    => 'info',
		'content' => __( 'Backup all your files and database in one click. <br />Your backup will be stored on your website’s server and you will be able to download it on your computer.', 'backwpup' ),
	],
];
$info_content = wpm_apply_filters_typed( 'array', 'backwpup_backup_now_modal_info_content', $info_content, 0 );
if ( isset( $info_content['component'], $info_content['args'] ) && $info_content ) {
	BackWPupHelpers::component( $info_content['component'], $info_content['args'] );
}
?>

<footer class="flex flex-col gap-2">
	<?php
	$button = [
		'component' => 'form/button',
		'args'      => [
			'type'       => 'primary',
			'label'      => __( 'Start', 'backwpup' ),
			'full_width' => true,
			'trigger'    => 'start-backup-now',
			'class'      => 'backwpup-button-backup',
		],
	];
	$button = wpm_apply_filters_typed( 'array', 'backwpup_backup_now_modal_button', $button, 0 );
	if ( isset( $button['component'], $button['args'] ) && $button ) {
		BackWPupHelpers::component( $button['component'], $button['args'] );
	}
	?>
</footer>