Like/dislike post rehub

Open
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme June 25, 2020
Login to reply
Aymeric FOUQUET
4 years ago
I find it weird and not necessarily standard that the plugin launches the hook, when it is he who should say on which post he is working !?Thanks for your feedback.Aymeric
Igor Sunz Support Agent
4 years ago

you can get post id from $POST parameter

see example https://monosnap.com/file/PuZoiQMyewoJNEUzX6E7HXpOqtscr1

Aymeric FOUQUET
4 years ago

Hello,

I do a custom development on the lik / dislike function and I rely on the functions/thumbandhot.php page is the 2 hooks that there are in the page:

do_action('rh_overall_post_likes_add');

do_action('rh_overall_post_wishes_add');

Except that the 2 hooks pass no parameters ?!

I wanted if it is possible to have the concerned post transmitted by this hook ?

Thank you

Igor Sunz Support Agent
4 years ago

It's theme core. You can find them functions/thumbandhot.php

There is no documentation, because there is no any special setup for this
option. You can only disable/enable them in theme option - global enable.

Aymeric FOUQUET
4 years ago

Hello,

I have questions about the like dislike system on the posts:

I use the child theme: https://repick.wpsoul.net/

1- Is the like/dislike system made by a plugin or is it in the theme code?

2- And what are the hooks of the like/dislike system?

I did not find anything in the rehub documentation: http://rehubdocs.wpsoul.com/

Thank you

Aymeric