public static function activation_install() { FrmAppHelper::delete_cache_and_transient('frm_plugin_version'); FrmFormActionsController::actions_init(); self::install(); }
private function clear_cache() { $default_post_atts = array('post_type' => FrmStylesController::$post_type, 'post_status' => 'publish', 'numberposts' => 99, 'orderby' => 'title', 'order' => 'ASC'); FrmAppHelper::delete_cache_and_transient(serialize($default_post_atts), 'frm_styles'); FrmAppHelper::cache_delete_group('frm_styles'); FrmAppHelper::delete_cache_and_transient('frmpro_css'); }