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_import_location_taxonomy_field', 'mdocs_example_matador_import_location_taxonomy_field', 10 ); | |
/** | |
* Example Location Taxonomy Field | |
* | |
* @copyright 2020, Matador Software, LLC | |
* @author Jeremy Scott, Matador Software LLC | |
* @link https://matadorjobs.com/ | |
* | |
* @param string $field_to_use |
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_import_job_general_location', 'mdocs_example_matador_import_job_general_location', 10, 2 ); | |
/** | |
* Example Job General Location Filter Function | |
* | |
* @copyright 2020, Matador Software, LLC | |
* @author Jeremy Scott, Matador Software LLC | |
* @link https://matadorjobs.com/ | |
* | |
* @param string $general_location |
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
/** | |
* Matador Jobs 3.5.6 Breaking Change Upgrade Method 1 (Preferred) | |
* | |
* If your site's appearance is affected by the 3.5.6 upgrade containing the backward-incompatible | |
* change to matador_the_job_description() or matador_get_the_job_description(), here is the preferred | |
* method to fix it. | |
* | |
* @copyright 2020, Matador Software, LLC | |
* @author Jeremy Scott, Matador Software LLC | |
* @link https://matadorjobs.com/support/documentation/upgrading-to-3-5-6/ |
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 | |
/** | |
* Modify the Subject of the Email Confirmation to Candidates | |
* | |
* @since 2019-10-11 | |
* | |
* @param string $subject Email subject | |
* @param array $application_data The array of data from the application form submission | |
* @param string $job_title The formatted name of the job they applied to, if any. | |
* |
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 | |
/** | |
* Example: Add a Custom Field to Your Default Form | |
* | |
* Adding a custom field to your form in Matador requires 2 steps, as well as an optional 3rd. | |
* | |
* 1. Registering the Field | |
* 2. Adding it to a form, either via the shortcode, function, or adding it to defaults | |
* 3. Choosing to make it required. | |
* |
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 | |
/** | |
* Example: Import Additional Job Fields from Bullhorn | |
* | |
* Example below imports Bullhorn field named 'customText4', calls it 'salary_range', declares it a 'string', and saves it as | |
* Job Meta for use in the front-end of the website, presumably to replace the 'salary' with a more descriptive range stat. | |
* | |
* @since 2019-07-19 | |
* @updated 2022-05-10 | |
* |
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 // do not include opening PHP tag unless required | |
/** | |
* Matador Docs : Adding "Page Builder" shortcodes before/after job description | |
* | |
* @author Jeremy Scott, Paul Bearne, Matador Software LLC https://matadorjobs.com | |
* | |
* @param $content | |
* | |
* @return string | |
*/ |
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 | |
/** | |
* Add Logo to Job Structured Data (JSON+LD) | |
* | |
* @see https://matadorjobs.com/support/documentation/add-a-logo-to-google-for-jobs-listings/ | |
* | |
* @param array $ld the Job Structured Data before save. | |
* @return array $ld the modified Job Structured Data for saving. | |
*/ | |
function mj_add_logo_to_job_jsonld( $ld ) { |
NewerOlder