ud:errors:admin_notices

ud:errors:admin_notices

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.3.4.1

apply_filters('ud:errors:admin_notices') is found 2 times:

  • /lib/classes/class-errors.php line 207
            if ( is_multisite() && ! is_super_admin() ) {
              return;
            }
    
            $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( !empty( $errors ) && is_array( $errors ) ) {
              $message = '<ul style="none;"><li>' . implode( '</li><li>', $errors ) . '</li></ul>';
              $data = array(
    
  • /vendor/udx/lib-wp-bootstrap/lib/classes/class-errors.php line 156
            if( TGM_Plugin_Activation::get_instance()->is_tgmpa_page() ) {
              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 ) ) {
    

See this hook used in plugins: