Outputs the markup for the top loading indicator and the screen reader notifications during client-side navigations.
Description
This method prints a div element representing a loading bar visible during navigation, as well as an aria-live region that can be read by screen readers to announce navigation status.
Source
}
}
}
}
/**
* Processes the `data-wp-class` directive.
*
* It adds or removes CSS classes in the current HTML element based on the
* evaluation of its associated references.
*
* @since 6.5.0
*
* @param WP_Interactivity_API_Directives_Processor $p The directives processor instance.
* @param string $mode Whether the processing is entering or exiting the tag.
*/
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.