Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/blueversion/wp-content/plugins/wp-freeio/includes/ |
Upload File : |
<?php
/**
* Job RSS Feed
*
* @package wp-freeio
* @author Habq
* @license GNU General Public License, version 3
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class WP_Freeio_Job_RSS_Feed {
public static function init() {
add_action( 'init', array( __CLASS__, 'custom_rss' ) );
}
public static function custom_rss() {
add_feed( 'job_listing_feed', array( __CLASS__, 'custom_feed_template' ) );
add_feed( 'freelancer_listing_feed', array( __CLASS__, 'custom_freelancer_feed_template' ) );
add_feed( 'service_listing_feed', array( __CLASS__, 'custom_service_feed_template' ) );
}
public static function custom_feed_template() {
echo WP_Freeio_Template_Loader::get_template_part( 'rss-feed-jobs' );
}
public static function custom_freelancer_feed_template() {
echo WP_Freeio_Template_Loader::get_template_part( 'rss-feed-freelancers' );
}
public static function custom_service_feed_template() {
echo WP_Freeio_Template_Loader::get_template_part( 'rss-feed-services' );
}
}
WP_Freeio_Job_RSS_Feed::init();