wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



absint › WordPress Function

Depuis2.5.0
Dépréciéen/a
absint ( $maybeint )
Paramètres:
  • (mixed) $maybeint Data you wish to have converted to a non-negative integer.
    Requis: Oui
Retourne:
  • (int) A non-negative integer.
Défini(e) dans:
Codex:

Converts a value to non-negative integer.



Source

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