function update_options_rcl_activate()
 {
     global $rcl_options;
     if (isset($_POST['primary-rcl-options'])) {
         if (!wp_verify_nonce($_POST['_wpnonce'], 'update-options-rcl')) {
             return false;
         }
         $_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);
         if ($_POST['login_form_recall'] == 1 && !isset($_POST['page_login_form_recall'])) {
             $_POST['page_login_form_recall'] = wp_insert_post(array('post_title' => __('Login and register', 'wp-recall'), 'post_content' => '[loginform]', 'post_status' => 'publish', 'post_author' => 1, 'post_type' => 'page', 'post_name' => 'login-form'));
         }
         foreach ((array) $_POST as $key => $value) {
             if ($key == 'primary-rcl-options') {
                 continue;
             }
             $options[$key] = $value;
         }
         update_option('primary-rcl-options', $options);
         $rcl_options = $options;
         if (current_user_can('edit_plugins')) {
             $this->get_update_scripts_file_rcl();
             $this->get_update_scripts_footer_rcl();
             rcl_minify_style();
         }
         wp_redirect(admin_url('admin.php?page=manage-wprecall'));
         exit;
     }
 }
function rcl_update_dinamic_files()
{
    include_once 'functions/rcl_addons.php';
    $rcl_addons = new Rcl_Addons();
    $rcl_addons->get_update_scripts_file_rcl();
    $rcl_addons->get_update_scripts_footer_rcl();
    rcl_minify_style();
}