• Resolved linmaddd

    (@linmaddd)


    I’m using captcha rather than password. Is there a function to wrap content with passter’s captcha?

    [passster captcha="true"]your hidden content[/passster]

    something like this:

    $args = array( 'captcha' => true );
    
    if ( passster\PS_Conditional::is_valid( $args ) ) {
    	// do something.
    }
Viewing 1 replies (of 1 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @linmaddd,

    your idea is pretty much the way to go!
    is_valid() checks for password, passwords, cookies, users, captchas, and so on.

    Make sure to use the cookie and reload option to make that work (as Passster doesn’t know about content outside of the_content()) by default.

    There is also a filter to include meta fields to the verification, it’s called “passster_compatibility_actions”

    Best regards,
    Patrick

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a function to wrap content but with captcha instead of password?’ is closed to new replies.