Allows admins to create user membership groups and set access restrictions for any post, page or section.
As of 1.4.x, Page Security is organized in a way that roughly corresponds to MVC guidelines. If you are a developer and want to take to extend any of PSC's features, it's usually as easily as calling any of the included static classes.
Most database-interaction functions can be found in /wp-content/plugins/contexture-page-security/core/queries.php - these are the same ones used by every facet of PSC and should be conveniently exposed to any other plugins or themes.
Here are just a few examples:
$result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id);
$result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id,$expiration_date);
$grel_id = get_grel($user_id,$group_id); $result = update_enrollment_grel($grel_id,$expiration_date);
$result = CTXPS_Queries::get_groups();
$result = CTXPS_Queries::check_protection();
Requires: 3.3 or higher
Compatible up to: 4.2.9
Last Updated: 1 year ago
Active Installs: 10,000+
0 of 3 support threads in the last two months have been marked resolved.
Got something to say? Need help?