You appear to be a bot. Output may be restricted
Description
Clear the array of processed postsThis should only be done at the top level. When the current content is the first item in the array. Can we perform a pop to get the same result?
Usage
bw_clear_processed_posts( $postID );
Parameters
- $postID
- ( integer|null ) optional – if set then we pop the most recently added value else clear the lot
Returns
voidSource
File name: oik/includes/bw_posts.phpLines:
1 to 10 of 10
function bw_clear_processed_posts( $postID=null) { global $processed_posts; if ( $postID ) { array_pop( $processed_posts ); } else { $processed_posts = array(); } bw_trace2( $processed_posts, "cleared", true, BW_TRACE_DEBUG ); //bw_backtrace(); }View on GitHub View on Trac