PUM_Utils_Sanitize::measure( $value = '',  $args = array(),  $fields = array(),  $values = array() )


Description Description


Source Source

File: classes/Utils/Sanitize.php

	public static function measure( $value = '', $args = array(), $fields = array(), $values = array() ) {
		if ( isset( $values[ $args['id'] . '_unit' ] ) ) {
			$value .= $values[ $args['id'] . '_unit' ];
		}

		return sanitize_text_field( $value );
	}

Top ↑

User Contributed Notes User Contributed Notes

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