-
-
Save rcstr/ca7ff4674a00edf5445e68876d46e1f2 to your computer and use it in GitHub Desktop.
Revisions
-
rcstr revised this gist
Aug 2, 2018 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,10 @@ <?php // create date object $date = new DateTime( '2018-07-23 06:12:04' ); // get the queued event by ID $event = \AutomateWoo\Queued_Event_Factory::get( $event_id ); $event->set_date_due( $date ); $event->save(); -
rcstr revised this gist
Aug 2, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ use AutomateWoo; // create date object $date = new DateTime( '2018-07-23 06:12:04' ); // get the queued event by ID $event = AutomateWoo\Queued_Event_Factory::get( $event_id ); -
rcstr revised this gist
Aug 1, 2018 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,17 @@ <?php use AutomateWoo; // create date object $date = new AutomateWoo\DateTime( '2018-07-23 06:12:04' ); // get the queued event by ID $event = AutomateWoo\Queued_Event_Factory::get( $event_id ); $event->set_date_due( $date ); $event->save(); // alternatively you can get the event via a query $query = new AutomateWoo\Queue_Query(); $query->where_order( 1234 ); foreach ( $query->get_results() as $event ) { -
rcstr revised this gist
Aug 1, 2018 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ <?php // create date object $date = new \AutomateWoo\DateTime( '2018-07-23 06:12:04' ); // get the queued event by ID $event = \AutomateWoo\Queued_Event_Factory::get( $event_id ); $event->set_date_due( $date ); $event->save(); // alternatively you can get the event via a query $query = new \AutomateWoo\Queue_Query(); $query->where_order( 1234 ); foreach ( $query->get_results() as $event ) { -
danielbitzer revised this gist
Jul 27, 2018 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,6 @@ $query->where_order( 1234 ); foreach ( $query->get_results() as $event ) { $event->set_date_due( $date ); $event->save(); } -
danielbitzer created this gist
Jul 27, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ <?php // create date object $date = new AutomateWoo\DateTime( '2018-07-23 06:12:04' ); // get the queued event by ID $event = AutomateWoo\Queued_Event_Factory::get( $event_id ); $event->set_date_due( $date ); $event->save(); // alternatively you can get the event via a query $query = new AutomateWoo\Queue_Query(); $query->where_order( 1234 ); foreach ( $query->get_results() as $event ) { $event = AutomateWoo\Queued_Event_Factory::get( $event_id ); $event->set_date_due( $date ); $event->save(); }