flowcrafter_node_get_entries_node_entries

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

Description

Short-circuits the full-entry query path. Return an array of entries, a WP_Error, or null to use the core query.

Usage

Supply full entries for a Get Entries node.

add_filter( 'flowcrafter_node_get_entries_node_entries', 'my_custom_function' );

Parameters

$entries null|array[]|WP_Error

Full entries, null, or error.

$context array

Query context.

$node array

Node definition.

$run Workflow_Run

Workflow run.

$form array

Workflow GF form.

Examples

Supply full entries for a Get Entries node

add_filter( 'flowcrafter_node_get_entries_node_entries', fn() => [ GFAPI::get_entry( 12 ) ] );

Since

  • 1.0-beta-1 Hook added.