Custom Fields

It is possible for you to hook into the Bulk Edit Pro plugin to add the fields that you need to edit if you know the meta_key for the custom field.

Follow these instructions to add the custom fields to the Bulk Editor:

1. Download the free Code Snippets plugin: https://wordpress.org/plugins/code-snippets/
2. Create a Snippet with the following code (Note: If you are more comfortable with editing your functions.php you can do that instead of Code Snippets.):

function pw_bulk_edit_custom_columns( $columns ) {
    $columns[] = array(
        'name' => 'Field Name 1',
        'type' => 'text',
        'table' => 'meta',
        'field' => '_meta_key_of_field1',
        'visibility' => 'both',
        'readonly' => false,
        'sortable' => 'true'
    );

    $columns[] = array(
        'name' => 'Field Name 2',
        'type' => 'text',
        'table' => 'meta',
        'field' => '_meta_key_of_field2',
        'visibility' => 'both',
        'readonly' => false,
        'sortable' => 'true'
    );

    return $columns;
}
add_filter( 'pwbe_product_columns', 'pw_bulk_edit_custom_columns' );

For “type”, the valid options are text, currency, number, date, and checkbox.