woocommerce_enhanced_push_notifications_disabled

woocommerce_enhanced_push_notifications_disabled

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.9.4

apply_filters('woocommerce_enhanced_push_notifications_disabled') is found 1 times:

  • /src/Internal/PushNotifications/PushNotifications.php line 152
    			 * @since 10.9.2
    			 *
    			 * @param bool $disabled Whether enhanced push notifications are disabled. Defaults to false.
    			 */
    			apply_filters( 'woocommerce_enhanced_push_notifications_disabled', false )
    		);
    
    		if ( $feature_disabled ) {
    			$this->enabled = false;
    			return $this->enabled;
    		}