Support » Plugin: Fatal Error Notify » Monitor woocommerce errors log?

Viewing 1 replies (of 1 total)
  • Plugin Author verygoodplugins

    (@verygoodplugins)

    This is a great idea! 🙂

    We’ll add it, but probably in the Pro version.

    In the meantime, the action you would want is woocommerce_logger_add_message, and then you can trigger Fatal Error Notify like this

    $error = array(
    	'message' => $message,
    	'user'    => get_current_user_id(),
    );
    
    fatal_error_notify()->public->send_notifications( $error );

Viewing 1 replies (of 1 total)
  • The topic ‘Monitor woocommerce errors log?’ is closed to new replies.