Skip to content

Instantly share code, notes, and snippets.

@jeremyescott
Last active January 25, 2018 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyescott/8c81d92d00aa185e8117840b31d24505 to your computer and use it in GitHub Desktop.
Save jeremyescott/8c81d92d00aa185e8117840b31d24505 to your computer and use it in GitHub Desktop.
matador_bullhorn_import_fields.php
// 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