/**
  * Used to retrieve a variation (typically the path/url to a css file)
  *
  * @since 4.5.0
  *
  * @param EE_Messages_Template_Pack $pack   The template pack used for retrieving the variation.
  * @param string                    $message_type_name The name property of the message type that we need the variation for.
  * @param bool                      $url   Whether to return url (true) or path (false). Default is false.
  * @param string                    $type What variation type to return. Default is 'main'.
  * @param string 	           $variation What variation for the template pack
  * @param bool 	           $skip_filters This allows messengers to add a filter for another messengers get_variation but call skip filters on the callback so there is no recursion on apply_filters.
  *
  * @return string                    path or url for the requested variation.
  */
 public function get_variation(EE_Messages_Template_Pack $pack, $message_type_name, $url = FALSE, $type = 'main', $variation = 'default', $skip_filters = FALSE)
 {
     $this->_tmp_pack = $pack;
     $variation_path = apply_filters('EE_messenger__get_variation__variation', false, $pack, $this->name, $message_type_name, $url, $type, $variation, $skip_filters);
     $variation_path = empty($variation_path) ? $this->_tmp_pack->get_variation($this->name, $message_type_name, $type, $variation, $url, '.css', $skip_filters) : $variation_path;
     return $variation_path;
 }
 public function add_html_css($variation_path, EE_Messages_Template_Pack $template_pack, $messenger_name, $message_type_name, $url, $type, $variation, $skip_filters)
 {
     $variation = $template_pack->get_variation($this->name, $message_type_name, $type, $variation, $url, '.css', $skip_filters);
     return $variation;
 }