This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Assign Candidate from Application to Category Based on Applied Job (Bullhorn ATS) | |
* | |
* Valid for Matador Jobs 3.9.0. If does not work with future versions, contact Matador Jobs support. | |
* | |
* @since 2024-08-19 | |
* | |
* @author Sam Paget, Matador Holdings, Inc | |
* @copyright Matador Holdings, Inc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // omit opening PHP tag | |
add_filter( 'matador_application_data_raw', 'matador_docs_require_resume_submission_at_processing_level', 20 ); | |
/** | |
* Matador Docs Example: Require Resume Submission at Processing Level | |
* | |
* In the event spam bots have found a way to bypass your resume requirement, this is an added layer of validation to | |
* stop the spam from sneaking through. This will have a poor User Interface in the event you use this on forms where | |
* a resume is optional and this is a site-wide "hammer" solution, so all applications must require resume if you intend | |
* to use this. Further, this will break the "Matador Jobs Pro - Contact Form Extension" if you use it. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //omit opening tag | |
add_filter( 'matador_taxonomy_terms_term_label', 'matador_docs_matador_taxonomy_terms_term_label', 10, 2 ); | |
/** | |
* Matador Docs Example: Add Term Count to Taxonomy Term Label | |
* | |
* In this example, display count of jobs per term in a Matador taxonomy term list. | |
* | |
* @since 2023-05-01 | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replace the standard values of "Submitted" or "new Lead" | |
add_filter( 'matador_data_source_status', function(){ | |
return 'Candidate'; | |
} ); | |
/** | |
* Matador Data Status Description | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace matador_docs; | |
add_filter( 'matador_data_source_description', 'matador_docs\matador_data_source_description_1', 10, 4 ); | |
/** | |
* Matador Data Source Description Hook Usage Example 1 | |
* | |
* Change from "{Site Name} Website" to "Corporate Site". | |
* | |
* @see https://docs.matadorjobs.com/articles/matador_data_source_description/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If using matador_the_job_meta(), matador_get_the_job_meta(), or the [matador_job_field name="field"] shortcode, | |
// filter the output on its way out to your template using one of the following filters. | |
/** | |
* Dynamic Filter: Matador Template The Job Meta | |
* | |
* @since 3.4.0 | |
* | |
* @param string $meta Meta value. | |
* @param int $id ID of job. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // omit opening PHP tag | |
add_filter( 'matador_application_fields_structure', 'mdocs_change_state_field_to_US_states_dropdown', 50, 1 ); | |
/** | |
* Matador Change "State" to US States Dropdown | |
* | |
* Change the state/province application form field to a drop-down (<select>) of US states and territories. | |
* | |
* @since 2021-02-22 | |
* | |
* @param array $fields Array of Form Fields |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Omit opening PHP tag | |
add_filter( 'matador_bullhorn_import_fields', 'mdocs_tutorial_custom_location_data_step_2' ); | |
/** | |
* Matador Docs Tutorial: Custom Location Data Step 2 - Importing the Field | |
* | |
* Example below imports Bullhorn field named 'customText1', calls it 'location_area', declares it a 'string', and declares | |
* as a custom field type. | |
* | |
* @since 2020-03-30 |
NewerOlder