Hello @meir321
exactly, Helpful stores things a little differently now. The customizer unfortunately works a bit differently than the rest, so it was difficult to keep the changes there.
You can see if you put the following in your functions.php. After that you can type my-domain.com/?helpful_css=on and check if the settings are still stored somewhere.
add_action('template_redirect', function () {
if (!array_key_exists('helpful_css', $_GET)) {
return;
}
echo get_option('helpful_css');
exit;
});
Alternatively you can put the following in your functions.php and check if something is shown here. In one of the cases your CSS should be visible, if Helpful didn’t clear the old option.
add_action('template_redirect', function () {
if (!array_key_exists('helpful_css', $_GET)) {
return;
}
$options = get_option('helpful_options');
if (array_key_exists('helpful_css', $options)) {
echo $options['helpful_css'];
}
exit;
});
Unfortunately, if none of this works, the settings are gone and I don’t have a solution for that. I had to change the saving altogether because Helpful had saved everything in individual options and cluttered up the database.
Greetings Kevin