This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Restricted posts are displayed in search (Memberships) #41036
    aprioriwerbeagenturaprioriwerbeagentur
    Participant

    But do you know why the “normal” WordPress Seach works fine accept the Ajax Search Plugin?

    in reply to: Restricted posts are displayed in search (Memberships) #41030
    aprioriwerbeagenturaprioriwerbeagentur
    Participant

    Hey Ernest,

    here is their reply:

    “There is not a simple check with a function but is crossing trough multiple classes (like CheckRestrictions) in order to establish if someone may access specific content or not. There is not a function that may be called from outside in order to have a such verification, unfortunately.”

    Sounds not really good, right?

    Cheers,
    Josh

    in reply to: Restricted posts are displayed in search (Memberships) #40989
    aprioriwerbeagenturaprioriwerbeagentur
    Participant

    Hey Ernest,

    thanks a lot 🙂
    Their repsonse ist: At PHP side you may use this function to check if specific user has active a specific membership: function ihc_user_has_level($u_id, $l_id) There is no function for checking access to a post because a post may be restricted in many ways.

    Does it help?

    Cheers,
    Josh

Viewing 3 posts - 1 through 3 (of 3 total)