Support » Plugin: Hide This » Possible to hide by user meta

  • Resolved Johan Falk

    (@j-falk)


    Hi and thanks for what seems like a great plugin!

    I have a use case where I would want to hide a specific part for users who don’t have a specific user meta value.

    This is an example from a user query where I get users who have these user meta set:
    ‘meta_query’ => array(
    ‘relation’ => ‘AND’,
    array(
    ‘key’ => ‘wants_to_become_a_mentor’,
    ‘value’ => ‘yes’,
    ‘compare’ => ‘LIKE’
    ),
    array(
    ‘key’ => ‘approved_by_us_as_mentor’,
    ‘value’ => ‘yes’,
    ‘compare’ => ‘LIKE’
    ),

    Is this possible already now in Hide This or maybe in the future of the plugin?

    Appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrés Villarreal

    (@andrezrv)

    Hi Johan,

    Thank you for your interest in the plugin. Sadly, I’m not planning to include something like this in the near future. However, I could suggest you to take a look at the Hide_This PHP class that’s included within the plugin to create a customized implementation.

    Best regards,

    Andrés.

    Appreciate the follow up, ended up with another custom solution for this case but will try this another time when possible.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to hide by user meta’ is closed to new replies.