Import column mapping arguments filter

bh_sl_import_file_args

Description

Filter the array of column mapping arguments used for importing locations via the custom WP-CLI command. The import functionality expects the columns to be named the following. If yours are different, use the filter to define your sheet’s columns.

  • name
  • description
  • address
  • address2
  • city
  • state
  • postal
  • country
  • email
  • phone
  • fax
  • website
  • hours1
  • hours2
  • hours3
  • hours4
  • hours5
  • hours6
  • hours7
  • lat
  • lng
  • categories

Parameters

NameTypeDescription
$column_mappingarrayThe array column mapping values

Example