notifications->countActiveNotifications(); $current_page = ! empty( $_GET['page'] ) ? $_GET['page'] : ''; $is_single_view = (bool) apply_filters( 'edd_admin_is_single_view', ! empty( $_GET['view'] ) ); $page_title = __( 'Downloads', 'easy-digital-downloads' ); switch( $current_page ) { case 'edd-settings': $page_title = __( 'Settings', 'easy-digital-downloads' ); break; case 'edd-reports': $page_title = __( 'Reports', 'easy-digital-downloads' ); break; case 'edd-payment-history': $page_title = __( 'Orders', 'easy-digital-downloads' ); break; case 'edd-discounts': $page_title = __( 'Discounts', 'easy-digital-downloads' ); break; case 'edd-customers': $page_title = __( 'Customers', 'easy-digital-downloads' ); break; case 'edd-tools': $page_title = __( 'Tools', 'easy-digital-downloads' ); break; case 'edd-addons': $page_title = __( 'View Extensions', 'easy-digital-downloads' ); if ( edd_is_pro() ) { $page_title = __( 'Manage Extensions', 'easy-digital-downloads' ); } break; default: if ( ! empty( $_GET['page'] ) ) { $page_title = ucfirst( str_replace( array( 'edd-', 'fes-' ), '', $current_page ) ); } elseif ( ! empty( $_GET['post_type'] ) ) { $post_type = get_post_type_object( $_GET['post_type'] ); $page_title = $post_type->labels->name; } break; } $page_title = apply_filters( 'edd_settings_page_title', $page_title, $current_page, $is_single_view ); if ( ! empty( $page_title ) && empty( $is_single_view ) ) { ?>
highest_license_key ) : ?>
'edd-settings', 'tab' => 'general', ) ); printf( wp_kses_post( /* translators: 1. opening anchor tag; 2. closing anchor tag */ __( 'Have a pass? You\'re ready to set up EDD (Pro). %1$sActivate Your Pass%2$s' ) ), '', '' ); ?>