Skip to content

Return response from distribution request #524

Open
@aahovhannisyan

Description

@aahovhannisyan

We're using distributor in background and calling \Distributor\Subscriptions\send_notifications directly. As the function doesn't return any value, we're not able to get information about the distributed post. Is it possible to return the response of the request from this function, so we can know whether it was distributed successfully or not ?
https://github.com/10up/distributor/blob/develop/includes/subscriptions.php#L280

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status

    Code Review

Relationships

None yet

Development

No branches or pull requests

Issue actions