• Resolved Streamline

    (@streamlinestar)


    Hi an thanks for the amazing product, I have been using it for more than a year now.
    Right now I am looking to add some extra validation on the end users side while validating license key.

    I would like to extend what is in the JSON response that is received back after a successful or unsuccessful license validation, for example, if the license key is valid I would also return ‘secret_word’ => ‘XYZ’ in the JSON.

    Was wondering if there is an easy way to use filters, actions or extending the Response API with such information? I wouldn’t want to be changing any core files therefore looking for a better way to do that.

    Kind thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reaching out to us. I have submitted a message to the developers to investigate further your request/ question.

    Kind regards

    Plugin Author mra13

    (@mra13)

    Thank you. Currently, it has the following filter that you can use to add additional arguments to the JSON output.

    apply_filters( ‘slm_api_response_args’, $args);

    Thread Starter Streamline

    (@streamlinestar)

    Thank you @mra13. Perceft! Just just what I was looking for ??

    Best wishes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extending response with additional data’ is closed to new replies.