Last active
January 25, 2018 15:24
-
-
Save jeremyescott/8c81d92d00aa185e8117840b31d24505 to your computer and use it in GitHub Desktop.
matador_bullhorn_import_fields.php
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
// Add to functions.php or a file included in your theme. | |
function mdocs_matador_bullhorn_import_fields( $fields ) { | |
$fields = array( | |
'correlatedCustomTextBlock1' => array( | |
'type' => 'string', | |
'saveas' => 'meta', | |
'name' => 'field_name', // optional, what the field will be named in WP, defaults to array key | |
), | |
); | |
return $fields; | |
} | |
add_filter( 'matador_bullhorn_import_fields', 'mdocs_matador_bullhorn_import_fields'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment