For developers
Restricting post and page contents might not seem enough for you and you could want to restrict a sidebar or a widget for non-verified users. So you can use the simple snippet below to do that.
if ( wedevs_is_sms_verified() ) { //your verified content goes here } else { echo wedevs_sms_popup_link('link text'); }
Optionally you can give user id checking on the `wedevs_is_sms_verified` function. e.g
if ( wedevs_is_sms_verified( $user_id ) ) { //your verified content goes here } else { echo wedevs_sms_popup_link('link text'); }
Changelog
– v1.1.2
* Twilio gateway error fix
– v1.1
* Verification on register form and comment form added
* Nexmo and Twilio gateway added
* SMS throttling added