WC_Admin_Status::status_logs_db() – Show the log page contents for db log handler.

You appear to be a bot. Output may be restricted

Description

Show the log page contents for db log handler.

Usage

WC_Admin_Status::status_logs_db();

Parameters

Returns

void

Source

File name: woocommerce/includes/admin/class-wc-admin-status.php
Lines:

1 to 14 of 14
  public static function status_logs_db() {
    if ( ! empty( $_REQUEST['flush-logs'] ) ) { // WPCS: input var ok, CSRF ok.
      self::flush_db_logs();
    }

    if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['log'] ) ) { // WPCS: input var ok, CSRF ok.
      self::log_table_bulk_actions();
    }

    $log_table_list = new WC_Admin_Log_Table_List();
    $log_table_list->prepare_items();

    include_once __DIR__ . '/views/html-admin-page-status-logs-db.php';
  }
 

 View on GitHub View on Trac