action_scheduler_admin_notice_html

action_scheduler_admin_notice_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('action_scheduler_admin_notice_html') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_ListTable.php line 439
    				/* translators: 1: action HTML 2: action ID 3: error message */
    				$action_message_html = sprintf( __( 'Could not process change for action: "%1$s" (ID: %2$d). Error: %3$s', 'woocommerce' ), $action_hook_html, esc_html( $notification['action_id'] ), esc_html( $notification['error_message'] ) );
    			}
    
    			$action_message_html = apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification );
    
    			$this->admin_notices[] = array(
    				'class'   => $class,
    				'message' => $action_message_html,
    			);
    		}