graphql_connection_amount_requested

This filter allows to modify the requested connection page size

apply_filters( 'graphql_connection_amount_requested', int $amount, AbstractConnectionResolver $resolver );

Params

  • $amount (int): The requested amount
  • $resolver (AbstractConnectionResolver): Instance of the connection resolver class