Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_revoke_plugin_access_to_user

apply_filters( ‘nelio_content_revoke_plugin_access_to_user’, boolean $revoke_access, id $user_id )

Short-circuits the user’s ability to use the plugin.

Parameters

$revoke_access boolean

(Required) whether the user shouldn’t have access to the plugin.

$user_id id

(Required) the user.

Source

File: includes/utils/functions/helpers.php

Changelog

Changelog
VersionDescription
2.0.0Introduced.