public function get_text_domain() { return $this->text_domain; }
/** * If the update check returned a WP_Error, show it to the user */ public function show_update_error() { if ($this->wp_error === null) { return; } ?> <div class="error"> <p><?php printf(__('%s failed to check for updates because of the following error: <em>%s</em>', $this->product->get_text_domain()), $this->product->get_item_name(), $this->wp_error->get_error_message()); ?> </p> </div> <?php }