HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/Gosuryaid/wp/wp-content/plugins/woo-image-seo/views/partials/form-rows/enable.php
<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

$name = $type . '[enable]';

?>

<div class="form__row">
	<input
		type="checkbox"
		class="hidden"
		name="<?php echo $name ?>"
		value="0"
		checked
	>

	<label
		class="label--checkbox"
		for="<?php echo $name ?>"
	>
		<input
			type="checkbox"
			name="<?php echo $name ?>"
			id="<?php echo $name ?>"
			value="1"
			<?php checked( $settings[ $type ]['enable'] ) ?>
		><?php
			/* translators: %s is one of the following: "alt" or "title" */
			printf( __( 'Automatic %s attributes', 'woo-image-seo' ), $type )
		?>

		<span class="checkmark"></span>
	</label>
</div><!-- /.form__row -->