woocommerce_helper_suppress_admin_notices

woocommerce_helper_suppress_admin_notices

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_helper_suppress_admin_notices') is found 1 times:

  • /includes/admin/helper/class-wc-helper.php line 2191
    2187
    2188
    2189
    2190
    2191
    2192
    2193
    2194
    2195
    2196
    /**
     * Various Helper-related admin notices.
     */
    public static function admin_notices() {
        if ( apply_filters( 'woocommerce_helper_suppress_admin_notices', false ) ) {
            return;
        }
     
        $screen    = get_current_screen();
        $screen_id = $screen ? $screen->id : '';