allow_tags() ) ) ? $tag : 'div'; } /** * Safely print a validated HTML tag. * * @param string $tag */ public function print_html_tag( $tag ) { // PHPCS - the method validate_html_tag is safe. echo $this->validate_html_tag( $tag ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } }