amount ); ?>
today', '%d donations today', $today->count, 'charitable' ), $today->count ); ?>
Charitable::DONATION_POST_TYPE, 'posts_per_page' => 5, 'post_status' => array_keys( $statuses ), 'fields' => 'ids', ) ); $table = charitable_get_table( 'campaign_donations' ); $today = $table->get_donations_summary_by_period( date( 'Y-m-d%' ) ); $this_month = $table->get_donations_summary_by_period( date( 'Y-m%' ) ); $last_month = $table->get_donations_summary_by_period( date( 'Y-m%', strtotime( '-1 month' ) ) ); $this_year = $table->get_donations_summary_by_period( date( 'Y-%' ) ); ?>
today', '%d donations today', $today->count, 'charitable' ), $today->count ); ?>
this month', '%d donations this month', $this_month->count, 'charitable' ), $this_month->count ); ?>
last month', '%d donations last month', $last_month->count, 'charitable' ), $last_month->count ); ?>
this year', '%d donations this year', $this_year->count, 'charitable' ), $this_year->count ); ?>
| get_date(); ?> | #get_number(); ?> | get_status_label(); ?> | get_total_donation_amount() ); ?> |