public_html/wp-content/plugins/wp-category-tag-could/classes/wpctc-settings.php
/**
		 * Registers settings sections, fields and settings
		 *
		 * @mvc Controller
		 */
Registers settings sections, fields and settings
@mvc Controller
Registers settings sections fields and settings @mvc Controller
public function register_settings() {
			$this->add_settings_section('wpctc_section-general', 'General');
			$this->add_settings_field_general('wpctc_clear-cache-on-save', 'Clear cache on widget save');
			$this->add_settings_field_general('wpctc_do-not-load-scripts', 'Do not load scripts if no widgets used on page');
			register_setting( 'wpctc_settings', 'wpctc_settings', array( $this, 'validate_settings' ) );
		}
public function register_settings ( ) { $ this -> add_settings_section ( 'wpctc_section-general' , 'General' ) ; $ this -> add_settings_field_general ( 'wpctc_clear-cache-on-save' , 'Clear cache on widget save' ) ; $ this -> add_settings_field_general ( 'wpctc_do-not-load-scripts' , 'Do not load scripts if no widgets used on page' ) ; register_setting ( 'wpctc_settings' , 'wpctc_settings' , array ( $ this , 'validate_settings' ) ) ; }
Registers settings sections, fields and settings
 @mvc Controller
Registers settings sections fields and settings @mvc Controller
/*
             * General Section
             */ // The settings container