rwmb_dismiss_dashboard_widget

rwmb_dismiss_dashboard_widget

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.3.2.2

apply_filters('rwmb_dismiss_dashboard_widget') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/about/dashboard.php line 32
    	}
    
    	public function add_news( $value ) {
    		$is_dismissed = get_user_meta( get_current_user_id(), $this->slug . '_dismiss_news', true );
    		$is_dismissed = apply_filters( 'rwmb_dismiss_dashboard_widget', $is_dismissed );
    		if ( $is_dismissed ) {
    			return $value;
    		}
    
    		ob_start();
    		$this->output_script();