WP_Notify.php
public function callback_dismiss_notification() {
        if ( isset( $_POST['namespace'] ) || isset( $_POST['id'] ) ) {
            $namespace = $_POST['namespace'];
            $id = $_POST['id'];

			$n_class = get_class();
            $notify = new $n_class( $namespace );
            $notify->hide_notification( $id );
        }
        exit;
    }
public function callback_dismiss_notification() {
        if ( isset( $_POST['namespace'] ) || isset( $_POST['id'] ) ) {
            $namespace = $_POST['namespace'];
            $id = $_POST['id'];

			$n_class = get_class();
            $notify = new $n_class( $namespace );
            $notify->hide_notification( $id );
        }
        exit;
    }
public function callback_dismiss_notification ( ) { if ( isset ( $ _POST [ 'namespace' ] ) || isset ( $ _POST [ 'id' ] ) ) { $ namespace = $ _POST [ 'namespace' ] ; $ id = $ _POST [ 'id' ] ; $ n_class = get_class ( ) ; $ notify = new $ n_class ( $ namespace ) ; $ notify -> hide_notification ( $ id ) ; } exit ; }
Callback to handle dismiss button AJAX request

@return void
Callback to handle dismiss button AJAX request