You appear to be a bot. Output may be restricted
Description
Reschedule to the current date, setting the time to the desired time if necessary
Note: This function is used for both category and tag rescheduling
Usage
oik_batchmove_reschedule_cat( $post_date, $time );
Parameters
- $post_date
- ( mixed ) required –
- $time
- ( mixed ) required –
Returns
void
Source
File name: oik-batchmove/admin/oik-batchmove-cron.php
Lines:
1 to 10 of 10
function oik_batchmove_reschedule_cat( $post_date, $time ) { if ( "" == $time ) { $new_date = bw_format_date(); $new_date .= bw_format_date( $post_date, " H:i" ); } else { $new_date = bw_format_date( null, "Y-m-d ${time}" ); } bw_trace2( $new_date, "new_date" ); return( $new_date ); }