get_monthly_spend(); $budget = (float) get_option( 'autoblogger_monthly_budget_usd', 50.00 ); $utilization = $cost_tracker->get_budget_utilization(); $next_run = wp_next_scheduled( 'autoblogger_daily_generation' ); printf( '

%s $%.2f / $%.2f (%.0f%%)

', esc_html__( 'Monthly Spend:', 'autoblogger' ), $monthly_spend, $budget, $utilization ); if ( false !== $next_run ) { printf( '

%s %s

', esc_html__( 'Next Generation:', 'autoblogger' ), esc_html( wp_date( 'M j, Y g:i A', $next_run ) ) ); } printf( '

%s

', esc_url( admin_url( 'admin.php?page=autoblogger-metrics' ) ), esc_html__( 'View Full Metrics', 'autoblogger' ) ); } }