HEX
Server: nginx/1.26.1
System: Linux 850a3e23ecee 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64
User: (1000)
PHP: 8.2.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/fixed-toc/admin/field-data/class-widget-field-data.php
<?php

/**
 * Contents Widget section field data.
 *
 * @since 3.0.0
 */
class Fixedtoc_Field_Widget_Section_Data extends Fixedtoc_Field_Section_Data {

	/**
	 * Create section data.
	 *
	 * @since 3.0.0
	 * @access protected
	 */
	protected function create_section_data() {
		$this->fixed();
	}

	/**
	 * Fixed widget.
	 *
	 * @since 3.0.0
	 * @access private
	 *
	 * @return void
	 */
	private function fixed() {
		$this->section_data['widget_fixed'] = array(
			'name'    => 'widget_fixed',
			'label'   => esc_html__( 'Fixed The Widget', 'fixedtoc' ),
			'default' => '1',
			'type'    => 'checkbox',
			'des'     => ''
		);
	}

}