Server IP : 104.21.14.103 / Your IP : 3.137.168.30 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/thietke365.net/wp-content/plugins/woocommerce/includes/admin/views/ |
Upload File : |
<?php /** * Admin View: Page - Status Database Logs * * @package WooCommerce\Admin\Logs */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <form method="post" id="mainform" action=""> <?php $log_table_list->search_box( __( 'Search logs', 'woocommerce' ), 'log' ); ?> <?php $log_table_list->display(); ?> <input type="hidden" name="page" value="wc-status" /> <input type="hidden" name="tab" value="logs" /> <?php submit_button( __( 'Flush all logs', 'woocommerce' ), 'delete', 'flush-logs' ); ?> <?php wp_nonce_field( 'woocommerce-status-logs' ); ?> </form> <?php wc_enqueue_js( "jQuery( '#flush-logs' ).on( 'click', function() { if ( window.confirm('" . esc_js( __( 'Are you sure you want to clear all logs from the database?', 'woocommerce' ) ) . "') ) { return true; } return false; });" );