ud:messages:admin_notices

ud:messages:admin_notices

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('ud:messages:admin_notices') is found 1 times:

  • /vendor/udx/lib-wp-bootstrap/lib/classes/class-errors.php line 157
              return;
            }
    
            $errors = apply_filters( 'ud:errors:admin_notices', $this->errors, $this->args );
            $messages = apply_filters( 'ud:messages:admin_notices', $this->messages, $this->args );
            $warnings = apply_filters( 'ud:warnings:admin_notices', $this->warnings, $this->args );
    
            $nonce = wp_create_nonce('ud_dismiss');
    
            if( !empty( $errors ) || !empty( $messages ) || !empty( $warnings ) ) {
              echo "<style>.ud-admin-notice a { text-decoration: underline !important; } .ud-admin-notice { display: block !important; } .ud-admin-notice.update-nag { border-color: #ffba00 !important; }</style>";
    

See this hook used in plugins: