Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Control frontend content visibility with secure admin settings and APIs.
This plugin is for site administrators who need to restrict frontend content based on user authentication. It provides a centralized way to manage access rules and messages directly from the site's admin area.
Admin Settings Page: Configure the message shown to users who cannot access restricted content directly from the WordPress admin dashboard. Secure REST API Endpoints: Includes GET and POST API endpoints, secured with nonces and permission checks, allowing for programmatic management of access settings. Frontend Content Restriction: Automatically hides specified content from visitors who are not logged in, displaying a customizable message instead. Structured Plugin Architecture: The code is organized into separate modules for admin functions, API handling, and content filtering, making it easier to maintain or extend. Tested API Integration: The provided REST endpoints have been verified for correct authentication and error handling using tools like Postman.
Version
Original
Updated