w3tc_widget_setup
w3tc_widget_setup
Appears in: w3-total-cache.0.10.0, w3-total-cache.0.10.1, w3-total-cache.0.10.2, w3-total-cache.0.11.0, w3-total-cache.0.12.0, w3-total-cache.0.13.0, w3-total-cache.0.13.1, w3-total-cache.0.13.2, w3-total-cache.0.13.3, w3-total-cache.0.14.0, w3-total-cache.0.14.1, w3-total-cache.0.14.2, w3-total-cache.0.14.3, w3-total-cache.0.14.4, w3-total-cache.0.15.0, w3-total-cache.0.15.1, w3-total-cache.0.15.2, w3-total-cache.0.9.7, w3-total-cache.0.9.7.1, w3-total-cache.0.9.7.2, w3-total-cache.0.9.7.3, w3-total-cache.0.9.7.4, w3-total-cache.0.9.7.5, w3-total-cache.2.0.0, w3-total-cache.2.0.1, w3-total-cache.2.1.0, w3-total-cache.2.1.1, w3-total-cache.2.1.3, w3-total-cache.2.1.4, w3-total-cache.2.1.5, w3-total-cache.2.1.6, w3-total-cache.2.1.7, w3-total-cache.2.1.8, w3-total-cache.2.1.9, w3-total-cache.2.2.1, w3-total-cache.2.2.12, w3-total-cache.2.2.3, w3-total-cache.2.2.4, w3-total-cache.2.2.6, w3-total-cache.2.2.7, w3-total-cache.2.2.9, w3-total-cache.2.3.0, w3-total-cache.2.3.1, w3-total-cache.2.3.2, w3-total-cache.2.3.3, w3-total-cache.2.4.1, w3-total-cache.2.5.0, w3-total-cache.2.6.0, w3-total-cache.2.6.1, w3-total-cache.2.7.0, w3-total-cache.2.7.2, w3-total-cache.2.7.5, w3-total-cache.2.7.7, w3-total-cache.2.8.0
Hook Type: action
See hook in action
Displaying hooks found in version: w3-total-cache.2.8.0do_action('w3tc_widget_setup') is found 1 times:
- /Util_Widget.php line 49
if ( is_network_admin() ) { do_action( 'w3tc_network_dashboard_setup' ); $dashboard_widgets = apply_filters( 'w3tc_network_dashboard_widgets', array() ); } else { do_action( 'w3tc_widget_setup' ); $dashboard_widgets = apply_filters( 'w3tc_dashboard_widgets', array() ); } foreach ( $dashboard_widgets as $widget_id ) { $name = empty( $w3tc_registered_widgets[ $widget_id ]['all_link'] ) ? $w3tc_registered_widgets[ $widget_id ]['name'] : $w3tc_registered_widgets[ $widget_id ]['name'] . " <a href='{$w3tc_registered_widgets[$widget_id]['all_link']}' class='edit-box open-box'>" . __( 'View all', 'w3-total-cache' ) . '</a>'; self::add( $widget_id, $name, $w3tc_registered_widgets[ $widget_id ]['callback'], $w3tc_registered_widget_controls[ $widget_id ]['callback'] );