# wp-to-buffer/6.0.3/lib/views/post-log.php

Social Media Auto Poster – Schedule &amp; Publish to Buffer, version 6.0.3. 69 lines.

- Page: https://pluginprobe.com/plugins/wp-to-buffer/6.0.3/code/lib/views/post-log.php
- Raw: https://pluginprobe.com/plugins/wp-to-buffer/6.0.3/raw/lib/views/post-log.php
- Modified: 2026-05-20T08:57:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-to-buffer/6.0.3/code/lib/views/post-log.php#L10-L20`.

```php
<?php
/**
 * Outputs the Logs table when viewing/editing an individual Post.
 *
 * @package WP_To_Social_Pro
 * @author  WP Zinc
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
?>
<div class="wpzinc-option">
	<div class="full">
		<table class="widefat wp-to-social-log">
			<thead>
				<tr>
					<th><?php esc_html_e( 'Request Sent', 'wp-to-buffer' ); ?></th>
					<th><?php esc_html_e( 'Action', 'wp-to-buffer' ); ?></th>
					<th><?php esc_html_e( 'Profile', 'wp-to-buffer' ); ?></th>
					<th><?php esc_html_e( 'Status Text', 'wp-to-buffer' ); ?></th>
					<th><?php esc_html_e( 'Result', 'wp-to-buffer' ); ?></th>
					<th><?php esc_html_e( 'Response', 'wp-to-buffer' ); ?></th>
					<th>
						<?php
						echo esc_html(
							sprintf(
							/* translators: Social Media Service Name (Buffer, Hootsuite) */
								__( '%s: Status Created At', 'wp-to-buffer' ),
								$this->base->plugin->account
							)
						);
						?>
					</th>
					<th>
						<?php
						echo esc_html(
							sprintf(
								/* translators: Social Media Service Name (Buffer, Hootsuite) */
								__( '%s: Status Scheduled For', 'wp-to-buffer' ),
								$this->base->plugin->account
							)
						);
						?>
					</th>
				</tr>
			</thead>
			<tbody>
				<?php
				echo $this->base->get_class( 'log' )->build_log_table_output( $log ); // phpcs:ignore WordPress.Security.EscapeOutput
				?>
			</tbody>
		</table>
	</div>
</div>
<div class="wpzinc-option">
	<div class="full">
		<a href="<?php echo esc_attr( $urls['refresh'] ); ?>" class="<?php echo esc_attr( $this->base->plugin->name ); ?>-refresh-log button" data-action="<?php echo esc_attr( $this->base->plugin->filter_name ); ?>_get_log" data-target="#<?php echo esc_attr( $this->base->plugin->name ); ?>-log">
			<?php esc_html_e( 'Refresh Log', 'wp-to-buffer' ); ?>
		</a>
		<a href="<?php echo esc_attr( $urls['export'] ); ?>" class="<?php echo esc_attr( $this->base->plugin->name ); ?>-export-log button">
			<?php esc_html_e( 'Export Log', 'wp-to-buffer' ); ?>
		</a>
		<a href="<?php echo esc_attr( $urls['clear'] ); ?>" class="<?php echo esc_attr( $this->base->plugin->name ); ?>-clear-log button wpzinc-button-red" data-action="<?php echo esc_attr( $this->base->plugin->filter_name ); ?>_clear_log" data-target="#<?php echo esc_attr( $this->base->plugin->name ); ?>-log" data-message="<?php esc_attr_e( 'Are you sure you want to clear the logs associated with this Post?', 'wp-to-buffer' ); ?>">
			<?php esc_html_e( 'Clear Log', 'wp-to-buffer' ); ?>
		</a>
	</div>
</div>

```
