You appear to be a bot. Output may be restricted
Description
Remove from the update_plugins transient any plugin that has been relocated
Usage
bw_unset_update_plugins( $relocations );
Parameters
- $relocations
- ( mixed ) required –
Returns
void
Source
File name: oik/admin/oik-relocate.inc
Lines:
1 to 12 of 12
function bw_unset_update_plugins( $relocations ) { if ( $current = get_site_transient('update_plugins') ) { bw_trace2( $current, "update_plugins before" ); foreach ( $relocations as $from => $to ) { unset( $current->response[ $from ] ); unset( $current->checked[ $from ] ); } set_site_transient('update_plugins', $current); bw_trace2( $current, "update_plugins after", false ); } }