flowcrafter_node_get_entries_node_entry_ids

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Supply entry IDs for a Get Entries node
  5. Since

Description

Short-circuit the ID-only query path. Extensions with advanced query behavior should return stable IDs here so Flowcrafter does not need to load full result objects. Return null to use core querying or the existing entries filter.

Usage

Supply entry IDs for a Get Entries node.

add_filter( 'flowcrafter_node_get_entries_node_entry_ids', 'my_custom_function' );

Parameters

$entry_ids null|int[]|WP_Error

Stable IDs, null, or error.

$context array

Query context.

$node array

Node definition.

$run Workflow_Run

Workflow run.

$form array

Workflow GF form.

Examples

Supply entry IDs for a Get Entries node

add_filter( 'flowcrafter_node_get_entries_node_entry_ids', fn() => [ 12, 34 ] );

Since

  • 1.0-beta-1 Hook added.