wpseek.com
A WordPress-centric search engine for devs and theme authors



absint › WordPress Function

Since2.5.0
Deprecatedn/a
absint ( $maybeint )
Parameters:
  • (mixed) $maybeint Data you wish to have converted to a non-negative integer.
    Required: Yes
Returns:
  • (int) A non-negative integer.
Defined at:
Codex:

Converts a value to non-negative integer.



Source

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