wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



absint › WordPress Function

Od2.5.0
Przestarzałyn/a
absint ( $maybeint )
Parametry:
  • (mixed) $maybeint Data you wish to have converted to a non-negative integer.
    Wymagane: Tak
Powrót:
  • (int) A non-negative integer.
Zdefiniowane na:
Codex:

Converts a value to non-negative integer.



Źródło

function absint( $maybeint ) {
	return abs( (int) $maybeint );
}