Файловый менеджер - Редактировать - /var/www/portal.bdu.ac.bd/public_html/wp-content/plugins/the-events-calendar/src/views/blocks/event-website.php
Назад
<?php /** * Block: Event Website * * Override this template in your own theme by creating a file at: * [your-theme]/tribe/events/blocks/event-website.php * * See more documentation about our Blocks Editor templating system. * * @link http://evnt.is/1aiy * * @version 4.7 * */ use Tribe__Utils__Array as Arr; $href = $this->attr( 'href' ); if ( ! $href || ! $this->attr( 'urlLabel' ) ) { return; } $post_id = Arr::get( $this->context, 'post_id' ); /** * Filter the target attribute for the event website link * * @since 5.1.0 * * @param string $target The target attribute string. Defaults to "_self". * @param string $href The link URL. */ $target = apply_filters( 'tribe_get_event_website_link_target', '_self', $href, $post_id ); $default_classes = [ 'tribe-block', 'tribe-block__event-website' ]; // Add the custom classes from the block attributes. $classes = isset( $attributes['className'] ) ? array_merge( $default_classes, [ $attributes['className'] ] ) : $default_classes; ?> <div <?php tribe_classes( $classes ); ?>> <a href="<?php echo esc_url( $href ); ?>" target="<?php echo esc_attr( $target ); ?>" <?php if ( '_blank' === $target ) : ?> rel="noopener noreferrer" <?php endif; ?> > <?php echo esc_html( $this->attr( 'urlLabel' ) ); ?> </a> </div>
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка