gppa_flowcrafter_collection_node_icon

  1. Description
  2. Usage
  3. Parameters

Description

Filter the Flowcrafter Collection node SVG icon for a Populate Anything object type. Prefer implementing GPPA_Object_Type::get_flowcrafter_icon() on third-party object types. Use this filter when you cannot subclass the OT.

Usage

Applied globally

add_filter( 'gppa_flowcrafter_collection_node_icon', 'my_custom_function' );

Parameters

$icon mixed

Inline SVG markup or empty.

$object_type_id string

Object type id (e.g. post, gpgs_sheet).

$object_type_instance mixed

Object type instance when available.