Site icon Hip-Hop Website Design and Development

WP Job Manager: adding Company and Location values to RSS feed

This snippet from the official documentations shows how to add company logo to the RSS feed:

add_action( 'job_feed_item' , 'rss_add_company_logo' , 10 , 2);
function rss_add_company_logo ( $company_logo ) {

    $company_logo = get_the_company_logo( $post_id);

    if ( $company_logo ) {
            echo '<enclosure type="image/jpeg" url="'. esc_html( $company_logo ) . '"/>';
        }
    
}

I’m trying to do the same for job’s location and company name values, which by default are not included in the RSS feed. I’m strugglig to write a code for that.