get_earnings( 0, 'today', false ); echo give_currency_filter( give_format_amount( $earnings_today, array( 'sanitize' => false ) ) ); ?>

get_sales( 0, 'today', false ); printf( /* translators: %s: daily donation count */ __( '%s donations today', 'give' ), give_format_amount( $donations_today, array( 'decimal' => false, 'sanitize' => false ) ) ); ?>

get_earnings( 0, 'this_week' ), array( 'sanitize' => false ) ) ); ?>

get_earnings( 0, 'this_month' ), array( 'sanitize' => false ) ) ); ?>

get_earnings( 0, 'last_month' ), array( 'sanitize' => false ) ) ) ?>

get_earnings( 0, 'this_quarter' ), array( 'sanitize' => false ) ) ) ?>

publish ) { $text = sprintf( /* translators: %s: number of posts published */ _n( '%s Give Form', '%s Give Forms', $num_posts->publish, 'give' ), $num_posts->publish ); $text = sprintf( $text, number_format_i18n( $num_posts->publish ) ); if ( current_user_can( 'edit_give_forms', get_current_user_id() ) ) { $text = sprintf( '%2$s', admin_url( 'edit.php?post_type=give_forms' ), $text ); } else { $text = sprintf( '%1$s', $text ); } $items[] = $text; } return $items; } add_filter( 'dashboard_glance_items', 'give_dashboard_at_a_glance_widget', 1, 1 );