HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //proc/self/cwd/wp-content/plugins/widget-1766602867/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>