You appear to be a bot. Output may be restricted
Description
Returns the map index$inc | action | return |
---|---|---|
true | $map++ | next value |
false | nop | current value |
null | 0 | current value = 0 |
Usage
bw_gmap_map( $inc );
Parameters
- $inc
- ( bool|null ) optional default: 1 –
Returns
voidSource
File name: oik/shortcodes/oik-googlemap.phpLines:
1 to 9 of 9
function bw_gmap_map( $inc=true ) { static $map=0; if ( $inc ) { $map++; } elseif ( null === $inc ) { $map = 0; } return $map; }View on GitHub View on Trac