Description
Updates site transient for theme updates.If required, unset last_checked to force another "check for updates" for themes. Note: Only use this when testing the oik theme update logic
Usage
oik_update::oik_site_transient_update_themes( $transient );Parameters
- $transient
- ( mixed ) required –
Returns
voidSource
File name: oik/libs/class-oik-update.phpLines:
1 to 12 of 12
static function oik_site_transient_update_themes( $transient ) { if ( defined( "OIK_FORCE_CHECK_THEMES" ) && OIK_FORCE_CHECK_THEMES ) { static $last_checked = null; if ( !$last_checked ) { $last_checked = $transient->last_checked; unset( $transient->last_checked ); bw_trace2( $last_checked, "transient" ); } } //bw_backtrace(); return( $transient ); }View on GitHub View on Trac
