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 : '';
		}

Changelog

Changelog
Version Description
2.5.4 Introduced.

User Contributed Notes

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