private static function update_to_2_1_10() { DispletRetsIdxRewriteController::reset_flush_rewrite_rules(); }
public static function maybe_update_page_options($options, $action_options) { $is_new_search_results_page = DispletRetsIdxUtilities::is_option_new('search_results_page_id', $action_options, $options); $is_new_property_details_page = DispletRetsIdxUtilities::is_option_new('property_details_page_id', $action_options, $options); if ($is_new_search_results_page || $is_new_property_details_page) { DispletRetsIdxRewriteController::reset_flush_rewrite_rules(); return array('search_results_page_id' => $options['search_results_page_id'], 'property_details_page_id' => $options['property_details_page_id']); } return false; }