-
-
Save Dudo1985/9105ee335f6104cc4ce4ea392416678c to your computer and use it in GitHub Desktop.
With this code is possible to rate posts that are not publish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $yasr_init_ajax; | |
remove_Action('yasr_action_on_visitor_vote', array($yasr_init_ajax, 'dieIfPrivatePost')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment