HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/gopalak/public_html/wp-content/plugins/charitable/templates/tables/table.php
<?php
/**
 * Displays the table wrapper and includes the rest the table.
 *
 * Override this template by copying it to yourtheme/charitable/tables/table.php
 *
 * @author  WP Charitable LLC
 * @package Charitable/Templates/Tables
 * @since   1.5.0
 * @version 1.5.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! array_key_exists( 'helper', $view_args ) ) {
    return;
}

?>
<table <?php echo $view_args['helper']->table_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
    <thead>
        <?php charitable_template( 'tables/header.php', $view_args ) ?>
    </thead>
    <tbody>
        <?php array_walk( $view_args['helper']->data, array( $view_args['helper'], 'render_row' ) ) ?>
    </tbody>
</table>