Yes, on the PHP Code Snippets entry the snippet is described as ‘active’
When I go to the page in wordpress block editor there is no LYTE-cache custom field. It goes from installed_at_version to meta_id
By the way, I am using Elementor. Not sure if that is relevant.
This is the snippet:
<?php
if (is_admin()) {
add_filter( 'is_protected_meta', 'lyte_unprotect_meta', 10, 3);
}
function lyte_unprotect_meta($protected, $meta_key, $meta_type) {
if (strpos($meta_key,"lyte")===0){
return false;
} else {
return $protected;
}
}
-
This reply was modified 8 months, 3 weeks ago by nylarosie.
-
This reply was modified 8 months, 3 weeks ago by nylarosie.