WOOT - WooCommerce Active Products Tables

WOOT_HELPER::draw_html_item($tag_name, $tag_attributes, $tag_content)

This function returns drawn HTML tag with attributes and its content

Example:

return sprintf(WOOT_Vocabulary::get('Find more products %s'), WOOT_HELPER::draw_html_item('a', [
            'href' => 'https://pluginus.net',
            'target' => '_blank'
                ], WOOT_Vocabulary::get('here')));
  • first param: tag name
  • second param: tag attributes
  • third param: tag content