| 1 |
<?php |
| 2 |
/** |
| 3 |
* Outputs a status setting within a table of statuses for an action (publish,update,repost,bulk publish). |
| 4 |
* |
| 5 |
* @package WPZinc\Social |
| 6 |
* @author WP Zinc |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; // Exit if accessed directly. |
| 11 |
} |
| 12 |
?> |
| 13 |
<tr class="status sortable<?php echo esc_attr( $key === 0 ? ' first' : '' ); ?>" data-status-index="<?php echo esc_attr( $key ); ?>" data-status='<?php echo wp_json_encode( $status, JSON_HEX_APOS ); ?>' data-labels='<?php echo wp_json_encode( $labels, JSON_HEX_APOS ); ?>'> |
| 14 |
<td class="count">#<?php echo esc_html( $key + 1 ); ?></td> |
| 15 |
<td class="actions"> |
| 16 |
<a href="#" class="dashicons dashicons-move move-status" title="<?php esc_attr_e( 'Reorder Status', 'wp-to-buffer' ); ?>"></a> |
| 17 |
<a href="#" class="dashicons dashicons-edit edit-status" title="<?php esc_attr_e( 'Edit Status', 'wp-to-buffer' ); ?>"></a> |
| 18 |
<a href="#" class="dashicons dashicons-trash delete-status" title="<?php esc_attr_e( 'Delete Status', 'wp-to-buffer' ); ?>"></a> |
| 19 |
</td> |
| 20 |
<td class="post_type"><?php echo esc_html( $row['post_type'] ); ?></td> |
| 21 |
<td class="message"><?php echo esc_html( $row['message'] ); ?></td> |
| 22 |
<td class="schedule"><?php echo esc_html( $row['schedule'] ); ?></td> |
| 23 |
</tr> |
| 24 |
|