Description
Alter the wp_list_table to reflect the plugin file changes
Usage
bw_update_list_table();Parameters
Returns
voidSource
File name: oik/admin/oik-relocate.incLines:
1 to 24 of 24
function bw_update_list_table() { global $wp_list_table, $bw_relocations; bw_trace2( $wp_list_table, "wp_list_table", false ); bw_trace2( $bw_relocations, "bw_relocations", false ); if ( isset( $bw_relocations ) && isset( $wp_list_table )) { $myplugins = $wp_list_table->items; $newplugins = array(); $offset = 0; foreach ($myplugins as $key => $val) { bw_trace2( $key, "key", false ); $replacement = bw_array_get( $bw_relocations, $key, $key ); bw_trace2( $replacement, "replacement", false ); $newplugins[$replacement] = $val; $offset++; } $wp_list_table->items = $newplugins; } bw_trace2( $wp_list_table, "wp_list_table after", false ); }View on GitHub View on Trac
Called by
1 to 1 of 1
Invoked by
Calls
1 to 2 of 2
