id != 'download_page_edd-reports' ) { return; } $pass_manager = new Pass_Manager(); if ( $pass_manager->isFree() ) { $docs_url = edd_link_helper( 'https://easydigitaldownloads.com/docs/', array( 'utm_medium' => 'reports-contextual-help', 'utm_content' => 'documentation', ) ); $upgrade_url = edd_link_helper( 'https://easydigitaldownloads.com/lite-upgrade/', array( 'utm_medium' => 'reports-contextual-help', 'utm_content' => 'lite-upgrade', ) ); $screen->set_help_sidebar( '

' . __( 'For more information:', 'easy-digital-downloads' ) . '

' . '

' . sprintf( __( 'Visit the documentation on the Easy Digital Downloads website.', 'easy-digital-downloads' ), $docs_url ) . '

' . '

' . sprintf( __( 'Need more from your Easy Digital Downloads store? Upgrade Now!', 'easy-digital-downloads' ), $upgrade_url ) . '

' ); } $screen->add_help_tab( array( 'id' => 'edd-reports', 'title' => __( 'Reports', 'easy-digital-downloads' ), 'content' => '

' . __( 'This screen provides you with reports for your earnings, downloads, customers and taxes.', 'easy-digital-downloads' ) . '

' ) ); $screen->add_help_tab( array( 'id' => 'edd-reports-export', 'title' => __( 'Export', 'easy-digital-downloads' ), 'content' => '

' . __( 'This screen allows you to export your reports into a CSV format.', 'easy-digital-downloads' ) . '

' . '

' . __( 'Sales and Earnings - This report exports all of the sales and earnings that you have made in the current year. It includes your sales and earnings for each product as well a graphs of sales and earnings so you can compare them for each month.', 'easy-digital-downloads' ) . '

' . '

' . __( 'Payment History - This report exports all of the payments you have received on your EDD store in a CSV format. It includes the contact details of the customer, the products they have purchased as well as any discount codes they have used and the final price they have paid.', 'easy-digital-downloads' ) . '

' . '

' . __( "Customers - This report exports all of your customers in a CSV format. It exports the customer's name and email address and the amount of products they have purchased as well as the final price of their total purchases.", 'easy-digital-downloads' ) . '

' . '

' . __( 'Download History - This report exports all of the downloads you have received in the current month into a CSV. It exports the date the file was downloaded, the customer it was downloaded by, their IP address, the name of the product and the file they downloaded.', 'easy-digital-downloads' ) . '

' ) ); if( ! empty( $_GET['tab'] ) && 'logs' == $_GET['tab'] ) { $screen->add_help_tab( array( 'id' => 'edd-reports-log-search', 'title' => __( 'Search File Downloads', 'easy-digital-downloads' ), 'content' => '

' . __( 'The file download log can be searched in several different ways:', 'easy-digital-downloads' ) . '

' . '' ) ); } do_action( 'edd_reports_contextual_help', $screen ); } add_action( 'load-download_page_edd-reports', 'edd_reporting_contextual_help' );