<?php
/**
 * Job Partial for Jobs Archive Job Content Filter
 *
 * Override this in your theme by copying it to /wp-content/themes/{yourtheme}/matador/parts/jobs-archive-job.php.
 *
 * @link        https://matadorjobs.com/
 *
 * @since       3.4.0
 *
 * @package     Matador Jobs
 * @subpackage  Templates/Parts
 * @author      Matador Software LLC, Jeremy Scott, Paul Bearne
 * @copyright   (c) 2018-2021, Matador Software, LLC
 *
 * @license     https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Defined before include:
 *
 * @var $content
 */

$context = 'archive';

/**
 * Matador Job Before Content
 *
 * @wordpress-filter matador_job_before_content
 *
 * After the jobs' wrapper, before the template content.
 *
 * @since 3.0.0
 * @since 3.4.0 added param $context
 *
 * @param string $context
 */
do_action( 'matador_job_before_content', $context );

echo wp_kses_post( $content );

/**
 * Matador Job After Content
 *
 * @wordpress-filter matador_job_after_content
 *
 * After the jobs' footer, before the closing tag.
 *
 * @since 3.0.0
 * @since 3.4.0 added param $context
 *
 * @param string $context
 */
do_action( 'matador_job_after_content', $context );
