w3tc_dashboard_widgets

w3tc_dashboard_widgets

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('w3tc_dashboard_widgets') 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 ) {
    			$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, $name, $w3tc_registered_widgets[ $widget_id ]['callback'], $w3tc_registered_widget_controls[ $widget_id ]['callback'] );
    		}