includes/data-stores/class-wc-customer-download-log-data-store.php
Method get_download_logs
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_download_logs( $args = array() ) {
global $wpdb;
$args = wp_parse_args(
$args,
Method create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function create( WC_Customer_Download_Log &$download_log ) {
global $wpdb;
// Always set a timestamp.
if ( is_null( $download_log->get_timestamp( 'edit' ) ) ) {