Astra_Customizer_Sanitizes::check_numberic_values( int|string $value )
Check numeric values.
Description
Parameters
- $value
-
(int|string) (Required) Value of variable.
Return
(string|int) Return empty if $value is not integer.
Source
File: inc/customizer/class-astra-customizer-sanitizes.php
public static function check_numberic_values( $value ) { return ( is_numeric( $value ) ) ? $value : ''; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.5.4 | Introduced. |