\jb\commonRewrite

Class Rewrite

Summary

Methods
Properties
Constants
__construct()
init_variables()
reset_rules()
maybe_flush_rewrite_rules()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Rewrite constructor.

Returns

mixed

init_variables()

init_variables() : mixed

Init variables for permalinks

Returns

mixed

reset_rules()

reset_rules() : mixed

Update "flush" option for reset rules on wp_loaded hook

Returns

mixed

maybe_flush_rewrite_rules()

maybe_flush_rewrite_rules() : void

Reset Rewrite rules if need it.