• Resolved Adam

    (@ahardy42)


    This morning your plugin popped up a message telling me that I’m using your plugin on 5 pages and I should give a review – which I did, ***** and thank you.

    What I’d love to know is how did you know I’m using it on 5 pages? I would love to do that to replace another plugin I’m using. At the moment I’m basically looking through every page which is tedious with 100 posts!

    Thanks
    Adam

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @ahardy42 ,

    We are using the function called show_rating_notice() where we are checking the ‘posts-created-with-uagb’ option is not false.
    ?
    In that we are getting $query var to check post_count and each $query->posts we are increasing the counter of $uag_post_count. If $uag_post_count is greater than or equal to 5 then we are updating our option in the database using update_option() and returning the notice.
    ?
    ?For more information you can refer this file Classes > class-uagb-admin-helper.php > show_rating_notice().

    ?I hope that clarifies.

    Regards,
    Sweta
    ?`

    Hello @ahardy42 ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

    Thread Starter Adam

    (@ahardy42)

    Sorry – thank you v. much for the info. Resolved.

    Hello @ahardy42 ,

    I’m glad it works out for you. Thanks for letting me know.

    If you need any further help, please do let us know.

    Have a great day ahead.

    Regards,
    Sweta

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Your review prompt banner in WP admin’ is closed to new replies.