# content-protector/4.3.16/inc/templates/category-protected.php

Passster – Password Protect Pages and Content, version 4.3.16. 25 lines.

- Page: https://pluginprobe.com/plugins/content-protector/4.3.16/code/inc/templates/category-protected.php
- Raw: https://pluginprobe.com/plugins/content-protector/4.3.16/raw/inc/templates/category-protected.php
- Modified: 2026-09-18T11:57:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/content-protector/4.3.16/code/inc/templates/category-protected.php#L10-L20`.

```php
<?php
/**
 * Template used when a regular post category or taxonomy archive is password-protected.
 * Used only for classic (non-block) themes; block themes use the render_block filter instead.
 *
 * @package Passster
 */

defined( 'ABSPATH' ) || exit;

get_header();
?>

<div class="passster-protected-archive">
	<header class="page-header">
		<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?>
		<?php the_archive_description( '<div class="archive-description">', '</div>' ); ?>
	</header>

	<?php echo \passster\PS_Category_Lock::get_protected_form(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>

<?php
get_footer();

```
