Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Admin
  5. Filter :wp_travel_display_critical_admin_notices

Filter :wp_travel_display_critical_admin_notices

Show critical admin notices or not.

Source

File: /inc/admin/admin-notices.php
Used by: /inc/admin/admin-notices.php

Parameters
Default is false.

Example:

function prefix_wp_travel_display_critical_admin_notices() {
    return true;
}
add_filter( 'wp_travel_display_critical_admin_notices', 'prefix_wp_travel_display_critical_admin_notices' );
Was this article helpful to you? Yes No

How can we help?