getid3_lib::safe_inc()
{} It's a method of the class: getid3_lib{}
No Hooks.
Return
true|false
.
Usage
$result = getid3_lib::safe_inc( $variable, $increment );
- $variable(int|null) (required) (passed by reference — &)
- -
- $increment(int)
- -
Default: 1
Code of getid3_lib::safe_inc() getid3 lib::safe inc WP 6.0
public static function safe_inc(&$variable, $increment=1) { if (isset($variable)) { $variable += $increment; } else { $variable = $increment; } return true; }