Skip to content
Jörn Lund edited this page Nov 4, 2017 · 8 revisions

Filters

Filter field type support

  • Filter name: acf_quick_edit_fields_types
  • Parameter: $fields
    An associative array of field type support having the ACF field name as keys and an array of supported fetaures as values.
    Features are 'column', 'quickedit' and 'bulkedit'.

Specifying which field groups to display

  • Filter name: acf_quick_edit_fields_group_filter
  • Parameter: $conditions
    Field group conditions passed to acf_get_field_groups()

Number of images in a Gallery Column

  • Filter name: acf_quick_edit_fields_gallery_col_max_images
  • Parameter: $max_images
    Maximum Number of images
    Default: 15

Render a quick edit input or not

  • Filter name: acf_quick_edit_render_{$field_type}
  • Parameter: $render
    Default: true
  • Parameter: $acf_field
  • Parameter: $post_type

Make a column sortable

Return false to suppress sortability for the a specific field.
Return a value_type like numeric or datetime for typecasting. See WP_Meta_Query::__construct for a list of available types.

  • Filter name: acf_quick_edit_sortable_column_{$field_name}
  • Parameter: $sortable
    Default: Whatever is_sortable() on the specific field type returns.

Actions

Before render quick/bulk edit Element

  • Action name: acf_quick_edit_field_{$field_type}
  • Parameter: $acf_field
  • Parameter: $post_type
Clone this wiki locally