BSF_Analytics::sanitize_option( bool $input )
Sanitize Callback Function
Description
Parameters
- $input
- 
					(bool) (Required) Option value. 
Source
File: admin/bsf-analytics/class-bsf-analytics.php
		public function sanitize_option( $input ) {
			if ( ! $input || 'no' === $input ) {
				return 'no';
			}
			return 'yes';
		}
			Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description | 
|---|---|
| 1.0.0 | Introduced. |