uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
public_html
/
wp-content
/
.
/
plugins
/
charitable
/
templates
/
shortcodes
/
donate-button.php
/
/
<?php /** * The template used to display a simple donation button/link. * * Override this template by copying it to yourtheme/charitable/shortcodes/donate-button.php * * @author David Bisset * @package Charitable/Templates/Shortcodes * @since 1.8.2 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } $target_for_link = $view_args['new_tab'] ? ' target="_blank"' : ''; $target_for_button = $view_args['new_tab'] ? ' onclick="window.open(\'' . esc_url( $view_args['url'] ) . '\')" ' : ' onclick="location.href=\'' . esc_url( $view_args['url'] ) . '\'" '; // if the type is a button, use a button element, otherwise use a link. if ( 'link' === $view_args['type'] ) : // filter esc_attr but prevent quotes from being encoded. $target_for_link = str_replace( '"', '"', esc_attr( $target_for_link ) ); $target_for_button = str_replace( '"', '"', esc_attr( $target_for_button ) ); ?> <a <?php echo $target_for_link; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> href="<?php echo esc_url( $view_args['url'] ); ?>" class="<?php echo esc_attr( $view_args['css'] ); ?>"><?php echo esc_html( $view_args['label'] ); ?></a> <?php else : ?> <input <?php echo $target_for_button; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> id="charitable-donate-button-<?php echo intval( $view_args['campaign'] ); ?>" class="<?php echo esc_attr( $view_args['css'] ); ?>" type="button" value="<?php echo esc_html( $view_args['label'] ); ?>" /> <?php endif; ?>
/home/batcwwjx/./public_html/wp-content/./plugins/charitable/templates/shortcodes/donate-button.php