wp_back/wp-content/plugins/visual-portfolio/templates/global/link-end.php

22 lines
315 B
PHP
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
<?php
/**
* Link end template.
*
* @var $href
* @var $target
* @var $class
* @var $fallback
*
* @package visual-portfolio
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( isset( $href ) && $href ) {
echo '</a>';
} elseif ( isset( $fallback ) && $fallback ) {
echo '</' . esc_html( $fallback ) . '>';
}