private function flush()
    {
        $currentConfigurationHash = $this->getCurrentConfigurationState();

        if ($currentConfigurationHash !== get_option('strata_rewrite_state')) {
            update_option('strata_rewrite_state', $currentConfigurationHash);
            flush_rewrite_rules();
            return true;
        }

        return false;
    }
private function flush()
    {
        $currentConfigurationHash = $this->getCurrentConfigurationState();

        if ($currentConfigurationHash !== get_option('strata_rewrite_state')) {
            update_option('strata_rewrite_state', $currentConfigurationHash);
            flush_rewrite_rules();
            return true;
        }

        return false;
    }
private function flush ( ) { $ currentConfigurationHash = $ this -> getCurrentConfigurationState ( ) ; if ( $ currentConfigurationHash !== get_option ( 'strata_rewrite_state' ) ) { update_option ( 'strata_rewrite_state' , $ currentConfigurationHash ) ; flush_rewrite_rules ( ) ; return true ; } return false ; }
Flushes the rewrite rules to the database if the rules look
like they have not been saved before hand.
@return boolean True if Strata wrote in the database
Flushes the rewrite rules to the database if the rules look like they have not been saved before hand .