graphql_pre_comment_cursor_node
apply_filters( 'graphql_pre_comment_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/CommentObjectCursor.php
Parameters
$pre_comment(\WP_Comment|null): The pre-filtered comment node.$offset(int): The cursor offset.$node(\WPGraphQL\Data\Cursor\CommentObjectCursor): The cursor instance.
Source
apply_filters( 'graphql_pre_comment_cursor_node', null, $this->cursor_offset, $this );
Related
CommentObjectCursor::get_cursor_node()inplugins/wp-graphql/src/Data/Cursor/CommentObjectCursor.php:67