You appear to be a bot. Output may be restricted
Description
Return a unique new post form ID
Usage
$string = bw_new_post_form_id( $set );
Parameters
- $set
- ( bool ) optional – increment the ID if true
Returns
string the contact form ID – format oiku_contact-$bw_contact_form_idSource
File name: oik-fields/shortcodes/oik-new.phpLines:
1 to 7 of 7
function bw_new_post_form_id( $set=false ) { static $bw_new_post_form_id = 0; if ( $set ) { $bw_new_post_form_id++; } return( "oik_new_post-$bw_new_post_form_id" ); }View on GitHub