santakrooz (June 20th, 2016)
add_filter( 'goft_jobs_read_more', 'my_read_more_link', 10, 3 );
// Replace the more [...] link with a 'Read More' text.
function my_read_more_link( $text, $content, $link ) {
$text = '<a href="' . esc_url( $link ) . ' target="_blank">Read more</a>';
return $text;
}
add_filter( 'goft_jobs_read_more', 'my_read_more_link', 10, 3 );
// Remove the more [...] link.
function my_read_more_link( $text, $content, $link ) {
return '';
}
add_filter( 'goft_jobs_schedules_interval_sleep', 'my_goft_schedules_interval' );
/**
* Delay each new schedules running in 'x' seconds.
* To increase the interval just change '5' to any number. Set to '0' to remove the interval.
*/
function my_goft_schedules_interval( $interval ) {
return 5; // delay in 5 seconds only.
}
santakrooz (June 20th, 2016)
There are currently 1 users browsing this thread. (0 members and 1 guests)