wpsl_meta_box_fields

  1. Description
  2. Parameters
  3. Usage
  4. Changelog
  5. Source File
  6. Related

Description

This filter allows you to customize the fields in the “Store Details” section.

Parameters

$meta_fields - (array) The current meta box fields.

Usage

This example creates an additional tab called “Filter Input Example” using all the supported field types:

The names of the fields like my_textinput and my_checkbox are prefixed with wpsl_ before they saved as post meta data.

There is a wpsl_metabox_” . $field_type . “_input action hook available in case you need to handle a custom field type.

Changelog

Since 2.0

Source File

This filter is located in /admin/class-metaboxes.php.