rwmb_dismiss_dashboard_widget

rwmb_dismiss_dashboard_widget

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.0.4

apply_filters('rwmb_dismiss_dashboard_widget') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/about/dashboard.php line 26
    	}
    
    	public function add_news( string $value ) : string {
    		$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();