/** * Log messages to WooCommerce error log if logging is enabled * * /wp-content/woocommerce/logs/twilio-sms.txt * * @since 1.1 * @param string $content message to log * @param string $_ unused */ public function log($content, $_ = null) { if ('yes' == get_option('wc_twilio_sms_log_errors ')) { parent::log($content); } }