Validate::sanitize_absint( null|string $value = null )
Description #
Sanitize field value using absint.
Parameters #
- $valuenull | string (Optional) String to sanitize. Default value: null
Source #
File: lib/class-validate.php
public static function sanitize_absint( $value = null ) { if ( ! is_null( $value ) ) { return absint( $value ); } }
Expand full source code Collapse full source code View on GitHub: lib/class-validate.php:91
Add your comment