republish-posts.php
/**
 * Setup the hook for the event to run every hour
 */
Setup the hook for the event to run every hour
Setup the hook for the event to run every hour
function rpSetupSchedule()
{
    if ( ! wp_next_scheduled( 'rpUpdatePostsHourlyEvent' ) ) {
        wp_schedule_event(
            time(), 'in_per_twenty_minute', 'rpUpdatePostsHourlyEvent'
        );
    }
}
function rpSetupSchedule ( ) { if ( ! wp_next_scheduled ( 'rpUpdatePostsHourlyEvent' ) ) { wp_schedule_event ( time ( ) , 'in_per_twenty_minute' , 'rpUpdatePostsHourlyEvent' ) ; } }
Setup the hook for the event to run every hour
Setup the hook for the event to run every hour