function checkApiAuth( $result ){
// Check if user is allowed to do stuff here
if($user_checks_out) {
$result = true;
} else {
$result = false;
}
return $result;
}
add_filter('json_authentication_errors', 'checkApiAuth');
iOS & Android app builder for WordPress
Ready to build your app?
Turn your WordPress site into iOS and Android apps with push notifications on every plan.



