/** * * @since 2.0.0 * * @param string $format 'html' or 'text', default 'html'. * @return string */ public function select_reply_prompt($format = Prompt_Enum_Content_Types::HTML) { $subscribe_mailto = sprintf('mailto:{{{reply_to}}}?subject=%s&body=%s', __('Just hit send', 'Postmatic'), $this->subscribe_phrase()); return Prompt_Content_Handling::html_or_reduced_utf8($format, sprintf(__('To get new posts as soon as they are published, reply with the word \'%s\'.', 'Postmatic'), "<a href=\"{$subscribe_mailto}\">{$this->subscribe_phrase()}</a>")); }
/** * * @since 2.0.0 * * @param string $format 'html' or 'text', default 'html'. * @return string */ public function select_reply_prompt($format = Prompt_Enum_Content_Types::HTML) { $subscribe_mailto = sprintf('mailto:{{{reply_to}}}?subject=%s&body=%s', __('Just hit send', 'Postmatic'), $this->subscribe_phrase()); return Prompt_Content_Handling::html_or_reduced_utf8($format, sprintf(__('To get all new comments on %1%s, reply with the word \'%2$s\'</a>.', 'Postmatic'), $this->get_wp_post()->post_title, "<a href=\"{$subscribe_mailto}\">{$this->subscribe_phrase()}</a>")); }