Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Plugin Name: WP Rocket | Disable Lazy Render Content
* Description: Disable Lazy Render Content Optimization.
* Plugin URI: https://docs.wp-rocket.me/article/1835-lazy-render-content#how-to-deactivate-this-feature
* Plugin Name: WP Rocket | Disable Automatic Lazy Rendering
* Description: Disable Automatic Lazy Rendering Optimization.
* Plugin URI: https://docs.wp-rocket.me/article/1835-automatic-lazy-rendering#how-to-deactivate-this-feature
* Author: WP Rocket Support Team
* Author URI: http://wp-rocket.me/
* License: GNU General Public License v2 or later
Expand All @@ -11,12 +11,12 @@
* Copyright SAS WP MEDIA 2024
*/

namespace WP_Rocket\Helpers\disable_lazy_render_content;
namespace WP_Rocket\Helpers\disable_automatic_lazy_render;

// Standard plugin security, keep this line in place.
defined( 'ABSPATH' ) or die();

// Disable Lazy Render Content Optimization
// Disable Automatic Lazy Rendering Optimization
add_filter( 'rocket_lrc_optimization', '__return_false', 999 );


Expand All @@ -40,4 +40,4 @@ function deactivate_plugin() {
if ( function_exists( 'rocket_clean_domain' ) ) {
rocket_clean_domain();
}
}
}