HEX
Server: LiteSpeed
System: Linux server318.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: sahadove (2893)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/sahadove/public_html/wp-content/plugins/gallery-1766620036/parts/settings-checkbox-field.php
<?php
	// Exits if accessed directly.
	if ( ! defined( 'ABSPATH' ) ) exit;
?>

<fieldset>
	<label for="<?php echo esc_attr( $args[ 'label_for' ] ); ?>">
		<?php
			printf( '<input type="checkbox" name="%1$s" id="%1$s" value="1"%2$s> %3$s',
				esc_attr( $args[ 'label_for' ] ),
				checked( YMFSEO_Settings::get_option( $args[ 'label_for' ] ), true, false ),
				esc_html( $args[ 'label' ] ?? '' ),
			);
		?>
	</label>

	<?php if ( isset( $args[ 'description' ] ) ) : ?>
		<p class="description"><?php echo wp_kses_post( $args[ 'description' ] ); ?></p>
	<?php endif; ?>
</fieldset>