Get Company name in the email when job submitted or job applied for.
Hi, what variable give me the comapny name? I would like tohave it added to the email when someone submits a job for approval.
$message = __('Dear Admin,', APP_TD) . PHP_EOL . PHP_EOL;
$message .= sprintf(__('The following job listing has just been submitted on your %s website.', APP_TD), $blogname) . PHP_EOL . PHP_EOL;
$message .= __('Job Details', APP_TD) . PHP_EOL;
$message .= __('-----------------') . PHP_EOL;
$message .= __('Title: ', APP_TD) . $job_title . PHP_EOL;
$message .= __('Author: ', APP_TD) . $job_author . PHP_EOL;
*************************$message .= I WANT TO PUT A COMPANY NAME HERE PHP_EOL;********************
I WANT TO PUT A COMPANY NAME HERE in the line above!
$message .= __('-----------------') . PHP_EOL . PHP_EOL;
$message .= __('Preview Job: ', APP_TD) . $job_slug . PHP_EOL;
$message .= sprintf(__('Edit Job: %s', APP_TD), $adminurl) . PHP_EOL . PHP_EOL . PHP_EOL;
$message .= __('Regards,', APP_TD) . PHP_EOL . PHP_EOL;
$message .= __('JobRoller', APP_TD) . PHP_EOL . PHP_EOL;
It send lot of information, but I want to add more to it. Can anyone help me with this? I have tried using this:
$message .= __('Organization: ', APP_TD) . $your_name . PHP_EOL;
and this
$message .= __('Organization: ', APP_TD) . $_Company . PHP_EOL;
But no joy. any help would be great! Thanks guys!!!!
Em-