• Resolved box

    (@boxoft)


    The comment of the get_tags() method of the WC_Product class isn’t correct.

    /**
    	 * Returns the product tags.
    	 *
    	 * @access public
    	 * @param string $sep (default: ')
    	 * @param mixed '
    	 * @param string $before (default: '')
    	 * @param string $after (default: '')
    	 * @return array
    	 */
    	function get_tags( $sep = ', ', $before = '', $after = '' ) {
    		return get_the_term_list($this->id, 'product_tag', $before, $sep, $after);
    	}

    The comment for the first parameter should be:
    @param string $sep (default: ', ')

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Comment isn't correct’ is closed to new replies.