Skip to content

Developer Doc

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.

[php]
if ( wedevs_is_sms_verified() ) {
//your verified content goes here
} else { echo wedevs_sms_popup_link(‘link text'); }
[/php]

Optionally you can give user id checking on the `wedevs_is_sms_verified` function. e.g

[php]
if ( wedevs_is_sms_verified( $user_id ) ) {
//your verified content goes here
} else { echo wedevs_sms_popup_link(‘link text'); }
[/php]

* Twilio gateway error fix

* Verification on register form and comment form added
* Nexmo and Twilio gateway added
* SMS throttling added

OctoberDealsReal Thrills

Up to65%OFF

00DAYS00HRS00MINS00SECS
Get Now