apply_filters( 'ap_user_can_vote_on_post', boolean|string $apply_filter, integer|object $post_id, string $type, integer $user_id )

Description #

Filter to hijack ap_user_can_vote_on_post.

Parameters #

  • $apply_filter
    boolean | string Apply current filter, empty string by default.
  • $post_id
    integer | object Post ID or object.
  • $type
    string Vote type, vote_up or vote_down.
  • $user_id
    integer User ID.

Changelog #


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment