graphql_pre_post_cursor_node
apply_filters( 'graphql_pre_post_cursor_node', null, $this->cursor_offset, $this );
If pre-hooked, return filtered node.
- Type: filter
- Group: Connections
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Data/Cursor/PostObjectCursor.php
Parameters
$pre_post(\WP_Post|null): The pre-filtered post node.$offset(int): The cursor offset.$node(\WPGraphQL\Data\Cursor\PostObjectCursor): The cursor instance.
Source
apply_filters( 'graphql_pre_post_cursor_node', null, $this->cursor_offset, $this );
Related
PostObjectCursor::get_cursor_node()inplugins/wp-graphql/src/Data/Cursor/PostObjectCursor.php:69