laipower/wp-content/upgrade-temp-backup/plugins/w3-total-cache/UserExperience_Page_View.php

25 lines
620 B
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<p>
Lazy loading is currently
<?php if ( $c->get_boolean( 'lazyload.enabled' ) ): ?>
<span class="w3tc-enabled">enabled</span>.
<?php else: ?>
<span class="w3tc-disabled">disabled</span>.
<?php endif ?>
<p>
<form action="admin.php?page=w3tc_userexperience" method="post">
<?php Util_UI::print_control_bar( 'pagecache_form_control' ); ?>
<div class="metabox-holder">
<?php /* decouple it when too much */ ?>
<?php include W3TC_DIR . '/UserExperience_LazyLoad_Page_View.php' ?>
<?php do_action( 'w3tc_userexperience_page' ) ?>
</div>
</form>