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
/
assets
/
js
/
blocks
/
donors
/
build
/
render.php
/
/
<?php /** * PHP file to use when rendering the block type on the server to show on the front end. * * The following variables are exposed to the file: * $attributes (array): The block attributes. * $content (string): The block default content. * $block (WP_Block): The block instance. * * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render * @package block-developer-examples */ // Get the current year. $current_year = gmdate( 'Y' ); // Determine which content to display. if ( isset( $attributes['fallbackCurrentYear'] ) && $attributes['fallbackCurrentYear'] === $current_year ) { // The current year is the same as the fallback, so use the block content saved in the database (by the save.js function). $block_content = $content; } else { // The current year is different from the fallback, so render the updated block content. if ( ! empty( $attributes['startingYear'] ) && ! empty( $attributes['showStartingYear'] ) ) { $display_date = $attributes['startingYear'] . '–' . $current_year; } else { $display_date = $current_year; } $block_content = '<p ' . get_block_wrapper_attributes() . '>© ' . esc_html( $display_date ) . '</p>'; } echo wp_kses_post( $block_content );
/home/batcwwjx/./public_html/wp-content/plugins/charitable/assets/js/blocks/donors/build/render.php