Browse: Home / Hooks /

learndash_alert_role

apply_filters( 'learndash_alert_role',  string $role )

Filters the role attribute for the alert.


Description #


Parameters #

$role

(string) The role attribute for the alert. Default is 'status' which means that's not urgent enough to justify interrupting the current task.


Return #

(string) The role attribute for the alert.


Source #

File: themes/ld30/templates/modules/alert.php


Changelog #

Changelog
Version Description
4.21.2 Introduced.