# wp-optimize/4.6.1/templates/minify/capo-js.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 4.6.1. 25 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/4.6.1/code/templates/minify/capo-js.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/4.6.1/raw/templates/minify/capo-js.php
- Modified: 2026-04-21T16:53:34+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/wp-optimize/4.6.1/code/templates/minify/capo-js.php#L10-L20`.

```php
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>

<h3><?php esc_html_e('Optimize <head> with Capo.js rules', 'wp-optimize'); ?></h3>
<div class="wpo-fieldgroup">
	<fieldset>
		<?php esc_html_e('An unoptimized <head> can slow down your site.', 'wp-optimize'); ?> <?php esc_html_e('Apply Capo.js rules to quickly fix these issues and boost performance.', 'wp-optimize'); ?>
		<div class="wpo-fieldgroup__subgroup">
			<h4><label>
					<input
						name="enable_capo_js"
						type="checkbox"
						value="true"
						disabled
					>
					<?php
					// translators: %s is a link to Capo.js website
					printf(esc_html__('Apply %s rules', 'wp-optimize'), '<a href="https://rviscomi.github.io/capo.js/" target="_blank">Capo.js</a>');
					?>
				</label>
			</h4>
			<a class="" href="https://teamupdraft.com/wp-optimize/pricing/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_creative_format=overlay&utm_content=capo-js" target="_blank"><?php esc_html_e('Upgrade to WP-Optimize Premium to unlock Capo JS feature.', 'wp-optimize'); ?></a>
		</div>
	</fieldset>
</div>

```
