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
/
.
/
widgets
/
donate.php
/
/
<?php /** * Display a widget with a link to donate to a campaign. * * Override this template by copying it to yourtheme/charitable/widgets/donate.php * * @package Charitable/Templates/Widgets * @author WP Charitable LLC * @since 1.0.0 * @version 1.5.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! charitable_is_campaign_page() && 'current' == $view_args['campaign_id'] ) : // phpcs:ignore return; endif; $widget_title = apply_filters( 'widget_title', $view_args['title'] ); $campaign_id = 'current' == $view_args['campaign_id'] ? get_the_ID() : $view_args['campaign_id']; // phpcs:ignore $campaign = charitable_get_campaign( $campaign_id ); if ( ! $campaign || ! $campaign->can_receive_donations() ) : return; endif; $suggested_donations = $campaign->get_suggested_donations(); if ( empty( $suggested_donations ) && ! $campaign->get( 'allow_custom_donations' ) ) : return; endif; echo $view_args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped if ( ! empty( $widget_title ) ) : echo $view_args['before_title'] . esc_html( $widget_title ) . $view_args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped endif; $form = new Charitable_Donation_Amount_Form( $campaign ); $form->render(); echo $view_args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/home/batcwwjx/./public_html/wp-content/plugins/./charitable/templates/./widgets/donate.php