PUM_Utils_Sanitize::measure( $value = '', $args = array(), $fields = array(), $values = array() )
Contents
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 ); }
Expand full source code Collapse full source code View on Trac