Tribe__Events__Community__Main::maybeFlushRewriteRules()
Checks if it should flush rewrite rules (after plugin is loaded).
Return
(void)
Source
File: src/Tribe/Main.php
public function maybeFlushRewriteRules() { if ( $this->maybeFlushRewrite == true ) { Tribe__Events__Main::flushRewriteRules(); $options = self::getOptions(); $options['maybeFlushRewrite'] = false; update_option( self::OPTIONNAME, $options ); } }
Changelog
Version | Description |
---|---|
1.0.1 | Introduced. |