Viewing 2 replies - 1 through 2 (of 2 total)
  • irisslee95

    (@irisslee95)

    Hello @nitinp544 We’re sorry you encountered this error. Please use this code snippet to fix it. We will fix it in the next update.

    /**
     * Add a class to the link
     *
     * @param  array $allowed_tags the allowed tags.
     * @return array
     */
    function wcv_allow_class_to_link( $allowed_tags ) {
    	$allowed_tags['a']['class'] = true;
    	return $allowed_tags;
    }
    
    add_filter( 'wcvendors_allowed_html_tags', 'wcv_allow_class_to_link' );

    Thread Starter Nitin Patil

    (@nitinp544)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failure to Apply Class to Anchor Tags’ is closed to new replies.