Skip to content

Instantly share code, notes, and snippets.

Lee VR51

View GitHub Profile
@VR51
VR51 / WP Job Board Daily Job Refresh
Created Feb 6, 2015
Refreshes the date of WP Job Board job posts. Any job post older than 2 months will be automatically republished with the date current at the time the script runs.
View WP Job Board Daily Job Refresh
<?php
/**
* Refresh WP Job Board job publish dates daily
* VR51.com & JournalXtra.com
* Add to your child theme's functions.php
**/
if (class_exists('Wpjb_Model_Job')) {
/* Add daily cron job to run the vr_daily_job_refresh hook */
You can’t perform that action at this time.