w3tc_dashboard_widgets, array(

w3tc_dashboard_widgets, array(

Hook Type: filter

See hook in core

Displaying hooks found in version: w3-total-cache.2.10.3

apply_filters('w3tc_dashboard_widgets, array(') is found 1 times:

  • /Util_Widget.php line 50
    			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 ) {
    			$w3tc_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&#91;$widget_id&#93;&#91;'all_link'&#93;}' class='edit-box open-box'>" . __( 'View all', 'w3-total-cache' ) . '</a>';
    			self::add( $widget_id, $w3tc_name, $w3tc_registered_widgets[ $widget_id ]['callback'], $w3tc_registered_widget_controls[ $widget_id ]['callback'] );
    		}