You appear to be a bot. Output may be restricted
Description
Appends some more jQuery code to be output later
If it's not already set then we need to enqueue jquery and ensure that all the jQuery gets flushed at the end of processing. Note:
Usage
bw_jq( $text );
Parameters
- $text
- ( mixed ) required –
Returns
void
Source
File name: oik/libs/bobbfunc.php
Lines:
1 to 13 of 13
function bw_jq( $text ) { global $bw_jq; if ( !isset( $bw_jq ) ) { wp_enqueue_script( 'jquery' ); if ( !is_admin() ) { add_action( 'wp_footer', "bw_jq_flush", 25 ); } else { add_action( "admin_print_footer_scripts", "bw_jq_flush", 25 ); } //bw_trace2( $bw_jq, "bw_jq not set" ); } $bw_jq .=$text; }