Popmake_Fields::checkbox_sanitize( $value = null,  $args = array() )


Description Description


Source Source

File: includes/class-popmake-fields.php

	public function checkbox_sanitize( $value = null, $args = array() ) {
		if ( intval( $value ) == 1 ) {
			return 1;
		}

		return null;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.