``` function publish_later_on_feed($where) { global $wpdb; if (is_feed()) { $now = gmdate('Y-m-d H:i:s'); $wait = '5'; $device = 'MINUTE'; // MINUTE, HOUR, DAY, WEEK, MONTH, YEAR $where .= " AND TIMESTAMPDIFF({$device}, {$wpdb->posts}.post_date_gmt, '{$now}') > {$wait} "; } return $where; } add_filter('posts_where', 'publish_later_on_feed'); ```