hook to rating
-
Hey mate, i love this plugin! ??
i am trying to hook to the rating action… what i got is this:
add_action( 'gdsr_vote_rating_article', 'ajax_gstarating_miniupdate'); // ajax for logged in users function ajax_gstarating_miniupdate() { $post_id = $_GET['vote_id']; $vote = $_GET['vote_value']; // DOIND SOME ACTION HERE }
The problam is that when i use this the rating stars dont reapear after the vote… the ajax loading gif keeps returning… i tried to hook at a later point meaning:
add_action( 'gdsr_vote_rating_article', 'ajax_gstarating_miniupdate', 99);
But it stil doesnt help. Any ideas why this happens? how can i fix it?
- The topic ‘hook to rating’ is closed to new replies.