stateless:notices:admin_notices

stateless:notices:admin_notices

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('stateless:notices:admin_notices') is found 1 times:

  • /lib/classes/class-errors.php line 210
              $default_show = false;
            }
    
            $errors = apply_filters( 'ud:errors:admin_notices', $this->errors, $this->args );
            $notices = apply_filters( 'stateless:notices:admin_notices', $this->notices, $this->args );
    
            //** Errors Block */
            if( $default_show && !empty( $errors ) && is_array( $errors ) ) {
              $message = '<ul style="none;"><li>' . implode( '</li><li>', $errors ) . '</li></ul>';
              $data = array(
                'title' => sprintf( __( '%s is not active due to following errors:', $this->domain ), esc_html($this->name) ),