public/wordpress/wp-content/themes/puro/functions.php
/**
 * Filter the comment form.
 * Remove comment form allowed tags if theme option is de-activated. 
 *
 * @param $defaults
 * @return mixed
 */
Filter the comment form.
Remove comment form allowed tags if theme option is de-activated.

@param $defaults
@return mixed
Filter the comment form . Remove comment form allowed tags if theme option is de - activated . @param $defaults @return mixed
function puro_comment_form_defaults( $defaults ) {
	if ( siteorigin_setting( 'comments_comment_form_tags' ) ) {
		$defaults['comment_notes_after'] = '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'puro' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>';	
	}
	return $defaults;
}
function puro_comment_form_defaults ( $ defaults ) { if ( siteorigin_setting ( 'comments_comment_form_tags' ) ) { $ defaults [ 'comment_notes_after' ] = '<p class="form-allowed-tags">' . sprintf ( __ ( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' , 'puro' ) , ' <code>' . allowed_tags ( ) . '</code>' ) . '</p>' ; } return $ defaults ; }
Filter the comment form.
Filter the comment form .