You appear to be a bot. Output may be restricted
Description
Return the next unique shortcode ID
There may be loads of shortcodes Each of them could potentially display paged content so each one with paged content has to be given a unique ID
Usage
$integer = bw_get_shortcode_id( $set );
Parameters
- $set
- ( bool ) optional – whether or not to increment the ID.
Returns
integer the ID suffix
Source
File name: oik/shortcodes/oik-navi.php
Lines:
1 to 7 of 7
function bw_get_shortcode_id( $set=false ) { static $id = 0; if ( $set ) { $id++; } return( $id ); }