You appear to be a bot. Output may be restricted
Description
If required, unset last_checked to force another "check for updates" for plugins
Note: Only use this when testing the oik plugin update logic
Usage
oik_update::oik_site_transient_update_plugins( $transient );
Parameters
- $transient
- ( mixed ) required –
Returns
void
Source
File name: oik/libs/class-oik-update.php
Lines:
1 to 15 of 15
static function oik_site_transient_update_plugins( $transient ) { if ( defined( "OIK_FORCE_CHECK" ) ) { if ( OIK_FORCE_CHECK ) { static $last_checked = null; if ( !$last_checked ) { $last_checked = $transient->last_checked; unset( $transient->last_checked ); bw_trace2( $last_checked, "transient" ); } } else { //bw_backtrace(); } } return( $transient ); }