return array_merge( $cron_task, $new_cron );
}
);
+}
- /**
- * Setup cron task request to run billingSetupQueue
- *
- * Run only once per day. Everyday.
- */
- add_filter(
- 'glm_associate_cron_request',
- function( $cron_task ) {
- $new_cron = array(
- array(
- 'menu' => 'ajax',
- 'action' => 'billingSetupQueue',
- 'daysOfWeek' => false,
- 'times' => array( 3 ),
- 'params' => array()
- )
- );
- return array_merge( $cron_task, $new_cron );
- }
- );
+/**
+ * Setup cron task request to run billingSetupQueue
+ *
+ * Run only once per day. Everyday.
+ */
+add_filter(
+ 'glm_associate_cron_request',
+ function( $cron_task ) {
+ $new_cron = array(
+ array(
+ 'menu' => 'ajax',
+ 'action' => 'billingSetupQueue',
+ 'daysOfWeek' => false,
+ 'times' => array( 3 ),
+ 'params' => array()
+ )
+ );
+ return array_merge( $cron_task, $new_cron );
+ }
+);
- /**
- * Setup cron task request to run billingRunQueue
- *
- * Run only once per day. Everyday.
- */
- add_filter(
- 'glm_associate_cron_request',
- function( $cron_task ) {
- $new_cron = array(
- array(
- 'menu' => 'ajax',
- 'action' => 'billingRunQueue',
- 'daysOfWeek' => false,
- 'times' => array( 4 ),
- 'params' => array()
- )
- );
- return array_merge( $cron_task, $new_cron );
- }
- );
-}
+/**
+ * Setup cron task request to run billingRunQueue
+ *
+ * Run only once per day. Everyday.
+ */
+add_filter(
+ 'glm_associate_cron_request',
+ function( $cron_task ) {
+ $new_cron = array(
+ array(
+ 'menu' => 'ajax',
+ 'action' => 'billingRunQueue',
+ 'daysOfWeek' => false,
+ 'times' => array( 4 ),
+ 'params' => array()
+ )
+ );
+ return array_merge( $cron_task, $new_cron );
+ }
+);
/**
* Filter returning the html for the billing field form (contact)