flowcrafter_feed_node_test_meta_keys
Description
Filter the entry meta keys that GFFeedNode should snapshot and restore during test runs. Add-ons that use custom entry meta to track whether a feed has already been processed can hook here to register their meta keys so test runs don’t permanently block re-testing.
Usage
Add feed metadata to test-run snapshots.
add_filter( 'flowcrafter_feed_node_test_meta_keys', 'my_custom_function' );Parameters
$meta_keys
string[]
Meta keys to snapshot/restore. Default includes GF’s “{addon_slug}_is_fulfilled” and GC’s “{addonslug}{feed_id}_inserted”.
$addon_slug
string
The add-on slug from the node settings.
$feed_id
int
The feed ID from the node settings.
$entry_id
int
The entry ID being tested.
Examples
Add feed metadata to test-run snapshots
add_filter( 'flowcrafter_feed_node_test_meta_keys', function ( $keys ) {
$keys[] = 'my_feed_processed';
return $keys;
} );Since
1.0-beta-1Hook added.