WC_Abstract_Order::get_date_paid
Get date_modified.
Method of the class: WC_Abstract_Order{}
No Hooks.
Returns
WC_DateTime|NULL. object if the date is set or null if there is no date.
Usage
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->get_date_paid( $context );
- $context(string)
- View or edit context.
Default: 'view'
WC_Abstract_Order::get_date_paid() WC Abstract Order::get date paid code WC 10.3.6
public function get_date_paid( $context = 'view' ) {
return $this->get_prop( 'date_paid', $context );
}