apply_filters( 'browse-happy-notice', string $notice, array|false $response )
- Since
- 3.2.0
Filters the notice output for the 'Browse Happy' nag meta box.
Compatibility
- WordPress
- since 3.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$noticestring- The notice content.
$responsearray|false- An array containing web browser information, or false on failure. See wp_check_browser_version().
Where this hook fires · 1
wp-admin/includes/dashboard.php:1797wp_dashboard_browser_nag()
Source code
* @since 3.2.0 * * @param string $notice The notice content. * @param array|false $response An array containing web browser information, or * false on failure. See wp_check_browser_version(). */ echo apply_filters( 'browse-happy-notice', $notice, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores} /** * Adds an additional class to the browser nag if the current version is insecure. * * @since 3.2.0Changelog
Introduced in 3.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.