rwmb_dismiss_dashboard_widget
rwmb_dismiss_dashboard_widget
Appears in: wp-stateless.3.2.2, wp-stateless.3.2.4, wp-stateless.3.2.5, wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.0.4apply_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();